Help 2 Link to Internal Sections of a Page with Anchor Elements

Tell us what’s happening:

I need help on this code challenge. I am new to code and have no idea what I am doing wrong.

Your code so far


<h2>CatPhotoApp</h2>
<main>
  
  <a href="#http://freecatphotoapp.com" target="Jump to the Bottom ">cat photos</a>
  
  <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>
  
<id="footer">Copyright Cat Photo App</footer>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

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

Anchor tag takes you the link you put in href attribute. This challenge wants you to modify your code so that clicking on the anchor tag takes you to the bottom of the page.
In your anchor tag, href should be #abc in quotes(for example) and footer tag should have id as #abc.

https://forum.freecodecamp.org/t/link-to-internal-sections-of-a-page-with-anchor-elements-0/217656/3?u=madhuswedha

“id” is an attribute that should be given inside your fotter element.
<fotter id=" "></fotter>

Change the below line
<a href="#http://freecatphotoapp.com" target="Jump to the Bottom ">cat photos</a>
to this
<a href="#footer" target="#">cat photos</a>
& this line
<id="footer">Copyright Cat Photo App</footer>
to this
<footer id="footer">Copyright Cat Photo App</footer>

Replace :
<a href="http://freecatphotoapp.com" target="_blank">cat photos</a>

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

Replace:
<footer>Copyright Cat Photo App</footer>

with:
<footer id="footer">Copyright Cat Photo App</footer>

Viola!!! The end. lol.

Seriously, if you still don’t understand , let me know. It’s always good to understand and not just pass a challenge.

Happy coding…

Good afternoon
I have some questions to you: what is mean footer in coding?
Also for the test we need to have anchor text,how i do it?
Thanks in advance for your answer.
Peace

In html, footer is placed at the bottom of the page.
All those things that you put in last part of page are usually wrapped around a footer tag.
In order to change the text inside anchor tag, you simply change whatever is written inside the a tag.
<a>Your text here </a>

Thanks it worked i will keep redoing the test until i fully understand it.

I think your code is right but it doesn’t seems to be working you know the message is that,

The message is that there should be only footer tag in your code