Challenge
In this challenge, we’ll create a profile page in a React application. Visiting the /profile
page should show the words “My Profile” in an h2
element with a CSS title
class. It should also display some details about the user. We can add these details using the <p/>
tag. There’s already a file called MyProfile.js
in the components
folder. To complete this challenge, implement the required code in this file and create a new route for /profile
in the App.js
file.
Get hands-on with 1200+ tech skills courses.