Looking at the task to create a 'GitHub user search' UI, we'll explore a number of important concepts and techniques for laying out and aligning things in CSS.
👉 View the task on Frontend Mentor
- Clone this repo &
cd css-workshop/github-user-search
- Run
npm install
- Run
npm run start
to run the app locally
Approaching things in the following order allows us to gather feedback from product early:
- Break the design into pieces
- Build a static UI (with stub data)
- Implement behaviours of the app
- Add state to allow for interactivity
- Get real data from the backend
A static UI demonstrates what the app would/could do - and helps us iron out any questions or unclear requirements before getting too far down the line of writing the implementation.
The official React guidelines also recommend this approach.
💡 This workshop will only focus on the first 2 steps!