From the course: Next.js: Creating and Hosting a Full-Stack Site
Unlock this course with a free trial
Join today to access over 24,500 courses taught by industry experts.
Challenge: Creating a navigation bar - React.js Tutorial
From the course: Next.js: Creating and Hosting a Full-Stack Site
Challenge: Creating a navigation bar
(upbeat music) - [Speaker] All right, so now that we've got most of the front-end of our application completed, it's time for you to do a challenge. Now, just as a reminder, if you want your app to look the way that you see it right here, you're going to need to just get the styled components from the starting code for this video. So at this point, we've completed most of the pages of our application, but one thing that's still a little bit cumbersome is that if we want to navigate back to, let's say the product list page from the product detail page, we actually have to go and hit back. And if we want to get to the shopping cart page or the checkout page, there's no way to do that yet, right? So your challenge here is going to be to add a nav bar to this application. And in case you think that this is going to involve adding it to all the pages individually, the good news is that it won't. You see, if we go back to next js, our next js application, remember that for all of our pages,…
Contents
-
-
-
(Locked)
What is Next.js?2m 48s
-
Setting up a Next.js project5m 3s
-
Creating pages5m 41s
-
Creating a product list9m 44s
-
(Locked)
Using Next.js Links3m 54s
-
(Locked)
Customizing content with route parameters8m 13s
-
(Locked)
Creating a shopping cart list8m 42s
-
(Locked)
Creating a 404 page5m 32s
-
(Locked)
Styling Next.js applications with Tailwind CSS9m 9s
-
(Locked)
Challenge: Creating a navigation bar3m 34s
-
(Locked)
Solution: Creating a navigation bar5m 34s
-
(Locked)
-
-
-
-
-