Landing Page - Navlink User Story 5

Landing Page - Navlink User Story 5
0
#1

Hi, really after some help, I’m trying to pass user story 5 but I’m unsure where I’m going wrong. I’m starting to feel a little overwhelmed because the more I look into it the less I’m understanding and it seems everyones code i’ve looked at is different.


Plese help me in the right direction.

0 Likes

#2

You should prepend your links with # (e.g. href="#Cost)
Also ids on the page must be unique.

0 Likes

#3

Can you show an example of the I’d unique, not making sense of it tonight.

0 Likes

#4

You can have each id only once on the page.
Bad:

<div id="my-id">
  <h1 id="my-id">Hello</h1>

Good:

<div id="my-id">
  <h1 id="another-id">Hello</h1>
1 Like

#5

Thanks jenvos, I was able to complete user story 5 with your advice.

0 Likes