Its not workingggg

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>

<a href="#footer" >Jump to Bottom</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>

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36.

Challenge: Link to Internal Sections of a Page with Anchor Elements

Link to the challenge:

According to the tests

// running tests
The footer tag should have an id attribute set to "footer".
// tests completed

Your footer does not have an id attribute set to “footer”.

your footer is a syntax error. Where is the closing > of the opening tag?

EXPLAINATION

  1. The footer tag should have an ID of “footer”.
  2. The footer tag needs to be closed.
  3. The footer tag text section contains the “Copyright Cat Photo App”.

CODE

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

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Thank you for understanding.

I support your cause in making the forums spoiler free. Yet, I preferred addressing the issue with EXPLANATION and CODE since a person won’t go to an extent to post a question, when he/she is able to figure the root cause of the problem even after looking into similar forum posts. I would also like to state that the challenge above needs more working than just the answer i have posted.

Thank You

That’s fine. Just use spoiler tags so that people can choose whether they want to see the code or not.

1 Like

how did you do that with the CODE ? To not been seen until you click it.

[spoiler]
// Your code here
[/spoiler]

You need to enclose angle bracket > before the footer closing tag. Have a nice day.