@@ -179,15 +179,15 @@ <h2>Challenge 4: Creating a Navbar</h2>
179179 < li > < strong > Navigate to your React project</ strong > </ li >
180180 < pre class ="cmd "> cd my-app</ pre >
181181
182- < li > < strong > Install dependencies</ strong > </ li >
182+ < li > < strong > Install dependencies</ strong >
183183 < pre class ="cmd "> npm i react-router-dom react-icons styled-components@latest</ pre >
184184
185- < li > < strong > Why each one?</ strong >
186- < ul >
187- < li > < code class ="inline "> react-router-dom</ code > : For routing between pages/components.</ li >
188- < li > < code class ="inline "> react-icons</ code > : Provides ready-to-use icons like the hamburger menu.</ li >
189- < li > < code class ="inline "> styled-components</ code > : CSS-in-JS library to style components.</ li >
190- </ ul >
185+ < pre class =" note " > < strong > Why each one?</ strong >
186+
187+ < code class ="inline "> react-router-dom</ code > : For routing between pages/components.
188+ < code class ="inline "> react-icons</ code > : Provides ready-to-use icons like the hamburger menu.
189+ < code class ="inline "> styled-components</ code > : CSS-in-JS library to style components.
190+ </ pre >
191191 </ li >
192192
193193 < li > < strong > Create folders & files</ strong >
@@ -488,19 +488,26 @@ <h2>Challenge 4: Creating a Navbar</h2>
488488
489489export default App;
490490 </ pre >
491+
492+ < pre class ="note "> < strong > Tip:</ strong > element={< Component /> } in <Route> tells React Router which component to render.
493+ </ pre >
491494
492- < li > < strong > Run your app</ strong > </ li >
493- < pre class ="cmd "> npm start</ pre >
494-
495- < li > < strong > Tip:</ strong > element={
496- < Component /> } in <Route> tells React Router which component to render.
495+ < li > < strong > Run your app</ strong >
496+ < pre class ="cmd "> npm start</ pre >
497497 </ li >
498- < li > < strong > Experiment:</ strong > Try adding a dropdown menu or customizing styling!</ li >
499- </ ol >
498+
499+ < li >
500+ < strong > Experiement</ strong >
501+ < ul >
502+ < li > Try adding a dropdown menu or customizing styling!</ li >
503+ </ ul >
504+ </ li >
500505
501- < p class ="note ">
502- Close the app by pressing Ctrl+C on Mac/Linux/Windows devices or GitHub Codespaces.
503- </ p >
506+ < li >
507+ < strong > Close the app</ strong >
508+ < pre class ="cmd "> Press Ctrl + C on Mac/Linux/Windows or stop the process in GitHub Codespaces.</ pre >
509+ </ li >
510+ </ ol >
504511 </ main >
505512 </ div >
506513 </ div >
0 commit comments