- Fork this repo
- Clone the forked repository
cd
to the directory where you cloned itnpm install
to install dependenciesnpm run test
to run tests
If you receive an error trying to run the tests, you can try installing watchman
Note: Remember to
git add
,git commit
andgit push
regularly
- When finished, commit and push your work.
- Make a pull request on github.
- Submit the link to your pull request on Canvas.
Recreate the image below using React and CSS. Use CSS Grid Layout to arrange the four sections of the page.
This lab was bootstrapped with Create React App. You you have a React App scaffolding to start with but you will need to run npm install
to download all its dependencies (takes some time).
Your App will have the following components structure.
Create a file per component in a src/Components/
folder, like src/Components/NavBar.js
.
Jest tests assume your components are set up in that structure with the same names from the diagram.
- Visualized as a component tree
-
Think about how this components tree matches what a user will see in the screen.
-
How many children will
App
have and who are they? -
Import the children of
App
intoApp.js
and use them.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.