Cannot add id attribute to footer

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

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

Link to the challenge:

Blockquote

you should put id beside footer not in h2.

but i am still not able to proceed :worried:

<footer id="footer"></footer>
1 Like

I’ve edited your post for readability. 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 (’).

thanks for letting me know I was strugging with trying to help others haha. wasn’t sure how to make the code presentable.

I have also added spoiler tags since this is a working answer.

In the future, it will help if you guide the OP in the right direction so they can arrive at the answer on their own instead of providing it to them.

It will be a better educational moment for them to arrive at the answer on their own. :grinning:

dam that’s true, I just read that the original poster was still stuck on the problem 24 hours later, and noticed the person was still on, so wanted to past a quick solution so they could keep on learning,

the posts i’ve made so far I’ve tried to be as educational, with the knowledge I have.

1 Like

No worries.

It is hard to see someone struggle but that is programming sometimes.

Struggle is part of the learning process :grinning:

2 Likes

Thanks i was able to proceed :smiley:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.