5 Questions
Which component do we need to import from react-router-dom to navigate to different routes?
link
What is the name of the component we are creating in the components folder?
navbar
What tag should be used to create a clickable element for navigation?
link
What is the text of the first clickable element in the navbar?
home
What attribute should be used instead of 'href' in the Link component?
to
Learn how to navigate between routes using a UI element in this quiz. Discover how to add a navbar with links to the home and about pages, and efficiently implement this feature in your components folder using VS Code.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free