Skip to content

lancedingo/routes-of-happiness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Routes Practice

  • Run the following commands in your terminal to clone this directory:
  curl -Ls http://bit.ly/react_router > /tmp/React_Routes && source /tmp/React_Routes

It contains the necessary files to have a 4 page site.

  • Run the yarn command in order to locally install all of the project's dependencies.

  • Read the documentation for the react-router-dom package.

  • In index.js, implement a navigation menu (styling is optional for this). Your navigation menu should have four links:

    • Home ( blank page with only the navigation menu )
    • Happy
    • Sleepy
    • Guilty
  • Each link in your navigation needs to route to the corresponding Component view.

Your page should look something like THIS.

  • When completed, add and commit your changes and push to github.

  • Submit the URL to your repository once you complete the exercise.

routes-of-happiness

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published