Challenge: Building an E-commerce Application’s Frontend with Rea

Practice implementing programmatic navigation in the hero component.

Task 1: Link to configured route

The project provided below is working perfectly, but on the home page (the hero section, to be precise), we have an anchor tag (<a>) meant to navigate the user to the shop page when clicked. In React, we don't use the anchor tag to route within the page but rather the Link component.

The challenge is to make this a Link so that when a user clicks the button, that user is navigated to the shop page using the shop path configured in our App.js file.

Get hands-on with 1200+ tech skills courses.