Link to internal session of a page with anchor elements

i am having issues with the internal link using anchor elements

<a href="#footer">Jump to Bottom</a>
<main id="footer">Jump to Bottom</main>

What exactly are the issues you are having? What is the challenge you are working on? What is you full code?

i was asked to change my external link to an internal one
got the anchor tag right but i have issue with the id

The

footer

tag should have an

id

attribute set to “footer”.

What is your full code? What challenge are you working on?


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 (’).

What is everything in the editor on the right side of your screen. Please copy-paste everything in that window into a reply to this post.

What is the challenge you are working on? Please copy-paste the link to the challenge you are working on into a reply to this post.

<h2>CatPhotoApp</h2>
<main>

  <a href="#footer">Jump to Bottom</a>
< id="footer">Jump to Bottom</>

  <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

  <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
  <p>Meowwww loved it, hated it, loved it, hated it yet spill litter box, scratch at owner, destroy all furniture, especially couch or lay on arms while you're using the keyboard. Missing until dinner time toy mouse squeak roll over. With tail in the air lounge in doorway. Man running from cops stops to pet cats, goes to jail.</p>
  <p>Intently stare at the same spot poop in the plant pot but kitten is playing with dead mouse. Get video posted to internet for chasing red dot leave fur on owners clothes meow to be let out and mesmerizing birds leave fur on owners clothes or favor packaging over toy so purr for no reason. Meow to be let out play time intently sniff hand run outside as soon as door open yet destroy couch.</p>

</main>

<footer>Copyright Cat Photo App</footer>

was this what you meant ?

Ah ha! I think I see what’s happening now.

You have added this element, but the challenge wants you to instead modify this element

to include the id attribute set to the value footer.

i still do not understand you please

You need to delete this piece that you added.

You need to add the id attribute here.


Which part is confusing you?