Having trouble with HTML

I cant get this one right. I’ve tried the hints and I’m still having trouble :thinking::disappointed:

Basic HTML and HTML5: Link to Internal Sections of a Page with Anchor Elements

Anchor elements can also be used to create internal links to jump to different sections within a webpage.

To create an internal link, you assign a link’s href attribute to a hash symbol # plus the value of the id attribute for the element that you want to internally link to, usually further down the page. You then need to add the same id attribute to the element you are linking to. An id is an attribute that uniquely describes an element.

Below is an example of an internal anchor link and its target element:



When users click the Contacts link, they’ll be taken to the section of the webpage with the Contacts header element.

Here is a link https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-internal-sections-of-a-page-with-anchor-elements/

It would help to paste your code here and tell us what you’ve tried so far, as well as link to the challenge :slight_smile:

1 Like

thanks @kristina_v
Is this what you need? :blush:


Probably your concern is understanding what is being talked about in that section of the tutorial.
If this is any help, try going through this tutorial for further insights into the concept.

1 Like

Yes, but please copy the code that you’ve tried so far so that we can give you some hints as to why you’re failing the test :slight_smile:

1 Like

Thanks that helped :smile:

@kristina_v thanks so much! :smile: