Trying to figure this out on free code camp

Trying to figure this out on free code camp
0

#1

I’m totally new to coding and am stuck on this problem. I can’t get past it. Help!!

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:

Contacts

Contacts


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

Change your external link to an internal link by changing the href attribute to “#footer” and the text from “cat photos” to “Jump to Bottom”.

Remove the target="_blank" attribute from the anchor tag since this causes the linked document to open in a new window tab.

Then add an id attribute with a value of “footer” to the element at the bottom of the page.


#2

Can you provide the code or screenshot of what you have tried.?


#3

When you enter a code block into a forum post, please precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.