Link to Internal Sections of a Page with Anchor ElementsHELPPP

Tell us what’s happening:
Okay im totally confused on the last part… im not really understanding if to and id at the top of the end where it says

Your code so far


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

  <h2 id="footer">Jump to Bottom</h2>
  <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>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15.

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

@vivalabri

You missed out to give an id="footer" for <footer>, instead you have placed it on the <h2> tag (this is wrong and remove the id from h2)

ok thanks let me give it a shot

You’ve removed the img element from code and added h2 element in its place. You can press ‘Reset All Code’ button to get back its original form.
Then modify anchor (as you’ve already done) and provide id="footer to <footer> element.

ugghhh… okay still having the same error but fixed what you said to fix…what is it now that i am missing?

I’m also having the same issue with the last part.

ugh isn’t it so frustrating lol
like im not sure if to add another anchor or not

yeah…the instructions for me weren’t that very clear. D:

hey! i was able to find another forum and at the bottom insert

where it says < footer > after footer put id = " footer " >

and that should work

OOHHHHH

thanks a lot :smiley:

1 Like