Jessica3860 / hear-me-oh-content

Apply content accessibility best-practices while writing semantically appropriate HTML.
0 stars 0 forks source link

I think I am creating my "id=" incorrectly #2

Open Jessica3860 opened 2 years ago

Jessica3860 commented 2 years ago

@wendywarren image

there is still some errors with my code but I don't know how to fix them.

wendywarren commented 2 years ago

Hi @Jessica3860,

It looks as though you're properly assigning the jump link with the <nav> with for example <a href="#Sloths">Jump to sloth content</a> -->just remember proper naming conventions, so it should be #sloths.

What you're forgetting is to include an id on the article where the content is. For example, instead of using a class="sloths", you would instead put <article id="sloths">

Remember that both the #sloths and id="sloths" have to be identical for the relationship to work.

Give it a shot and let me know how it goes.

Let me know if you have any other questions. :)

Wendy