Conversation
Building Blocks of
|
| <div className="Box Box--spacious f4"> | ||
| <div className="Box-header"> | ||
| {/* Replace this line with the proper header code*/} | ||
| </div> |
There was a problem hiding this comment.
Step 2: Adding components
Let's add a child component and give our app a header. At the end of the step, your app should like the following:
⌨️ Activity: Add an h3 component to src/App.jsx
- In
src/App.jsx, replace line 92 with this header component:<h3 className="Box-title d-flex flex-justify-center">GradeBook</h3>
- Save your file
- To run the code, move inside the repository directory in your terminal and run
npm start - Exit the process in your terminal using
Ctrl + C - Stage, commit, and push your code to the
changesbranch:git add src/App.jsx git commit -m "add a header component" git push


No description provided.