HTML Responsive Web Design Project - User Story #5

Hello Everyone

This is the second time I’m doing this story as the HTML in my first attempt just became very tangled and looked horrible.

That said it passed 14/16 tests. Story 5 included. I cant get it to work this time, even though I’ve read through previous replies and watched videos on this.

I would really appreciate anyone taking the time to look at this and point out my error.

I figured it out!
Your promotions <li> tag contains class="nav-link" , but that class should be moved inside the <a> tag like it is with your other two list items (compare the two lines of code below).

<li ><a class="nav-link" href="#best-deals">Best Deals</a></li>
<li class="nav-link"><a href="#promotions">Promotions</a></li>

You’ll also need to give the <section> tag for your promotions section an id

Thank you so much! I’ve gone over it many many times and just couldn’t see what I was doing wrong :man_facepalming: You’ve got a sharp eye! Have a good day :slightly_smiling_face:

1 Like