Challenge: Create a Button That Routes to Another Web Page
Test yourself by creating a button that routes to another web page using React Router.
We'll cover the following
Overview
Using the code playground, perform the tasks detailed below.
Requirements
In this project, we have a Homepage
where there is a “Ask a Question” button. When we click it, it routes us to “Ask a question” page. Now your task is to add another button named “Comment here” that should route us to the Comment page.
Get hands-on with 1400+ tech skills courses.