Need help with html internal links challenge

hi there, will someone help me this problem
Responsive Web DesignBasic HTML and HTML5

Link to Internal Sections of a Page with Anchor Elements

a ( 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:

<a href="#contacts-header">Contacts</a>
...
<h2 id="contacts-header">Contacts</h2>

When users click the Contacts link, they’ll be taken to the section of the webpage with the Contacts heading 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 <footer> element at the bottom of the page.

HI @hayewaryaa82 !

Welcome to the forum!

I created a new post for you.
It is always best to create your own posts instead of posting in another unrelated thread
Thanks! :grinning:

As for the challenge, can we see the code of what you have tried so far?
Please post your full code here in the forum

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Sure, that is why we are here. But rather than us going through word by word and concept by concept, providing 100 paragraph explanations and a code examples to cover every idea discussed here, could you be more specific about what is giving you trouble?

There’s no shame in it - we’ve all been there - this is tough stuff when you’re starting out. Heck, it’s tough stuff after you’ve been doing it for a while. But being able to articulate problems is an important skill for a dev. And on the forum, it will lead to better answers, both in quality and quantity.

1 Like