Internal links / anchor Id

I am beyond confused dealing with this code.

<a href="#footer"="https://www.freecatphotoapp.com">Jump to Bottom</a>
<h1 id="footer">Jump to Bottom </h1>

I’ve spaced the code for relevance

I am not able to see what is wrong and why it will not connect. Is there something I am doing that can be fixed? Please assist

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

Hi @Knoshosworld !

Welcome to the forum!

When asking questions on the forum, please include the challenge link so we know what you are working on.

In the future, you can use the Ask for Help button which formats your code and provides the challenge link.

For this challenge, if I remember correctly, you are supposed to use a footer with an id of footer.

Not an h1.

Also, this is a syntax error

The href value should be set to #footer

(((Sorry))) Thanks for the correction. I hope this helps

Tell us what’s happening:
Describe your issue in detail here.

   **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<a href="#footer"="https://www.freecatphotoapp.com">Jump to Bottom</a>

<#footer id="footer"></footer>

 <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

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

Link to the challenge:

Ok cool.

A few issues.

No.1:
You still have a syntax error here

The directions tell you to change the href value from this

to this

But it is not supposed to be both.
Your href should only have the value of #footer

No.2:
Delete this

That is not correct syntax.

Also, they already gave you a footer tag to work with at the bottom

Use that one
Add the id of footer to that one

1 Like

Thank you. I saw everything I needed to do, but to design the code correctly didn’t fully register. You are a goddess_send! Thank you again

1 Like