From the course: Learning ASP.NET

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Solution: Enhance site footer

Solution: Enhance site footer

From the course: Learning ASP.NET

Start my 1-month free trial

Solution: Enhance site footer

(upbeat music) - [Instructor] Let's take a look at how we can solve the challenge. In the exercise files, open up the razor webpages application. Since we need to make updates to the site footer and top navigation menu, we'll be working in the site layout file. Let's find the footer elements at the bottom. Right here after the copyright text, I'm going to add a link element. The HREF value is the contact page just like we have in the menu. And the link text will be contact us. Now that we've added it to the footer, let's remove it from the menu. Scrolling up to the NAV section here on line 38, we can see the list of menu items. And I'll delete the contact item from the list. And that's all. So let's run the application and see how it looks. The contact menu is gone from the top navigation and we now have a contact us link in the footer that takes us to the contact page. I hope you enjoyed this challenge and…

Contents