This is a simple website built using Create React App.
Link to the website.
- HTML
- CSS (Tachyons)
- JavaScript + JSX
- React (Create React App)
- API
- VSCode
- Git
- GitHub
The homepage contains the logo, search box, and card list that displays image, name, and email address.
| Feature | Action | Expected Result | Y/N | Comments |
|---|---|---|---|---|
| Homepage | Access website link | Display card list in a grid with name and email | Y | N/A |
| Search box | Type in name to search | Filter card list to show corresponding search | Y | N/A |
| Card | Hover or click | Animate for interactivity | Y | N/A |
The website was deployed to GitHub Pages. The steps to deploy are as follows:
-
Add
homepagetopackage.json"homepage": "https://myusername.github.io/my-app", -
Install
gh-pagesin the terminalnpm install --save gh-pages -
Deploy to
scriptsinpackage.jsonby addingpredeployanddeployas below"scripts": { "predeploy": "npm run build", "deploy": "gh-pages -d build" } -
Deploy the site by running
npm run deployin the terminal -
Make sure GitHub Pages option in your GitHub project settings is set to use the
gh-pagesbranch
This was coded along the project walkthrough by Andrei Neagoie on ZTM in the React.js Fundamentals section of the Complete Web Developer in 2024: Zero to Mastery course.
The robot images were randomly selected via API from robohash.
This was my first foray into React. I learned the following concepts:
- Components: building blocks of a React app, which are small, reusable parts that can be assembled to create UIs.
- Containers: smart components that manage state or interact with logic (like fetching data from an API).
- One way data flow: data moves from the top to the bottom of the component hierarchy.
- State: represents the dynamic data in a component, like user input or fetched data.
- Props: a way of passing data from a parent component down to a child component. A parent component (like a container) can pass its state or other data to child components via props, but the child component can’t modify the prop.


