Here is a screenshot. I just can’t for the life of me figure out what it is asking me to do. It keeps saying, "The footer tag should have an id attribute set to “footer”. "
And I wrote this but that doesn’t do anything. I have been stuck on this for 4 days now and I just can’t figure it out. Please help me.
<a href="#footer">Jump to Bottom</a>
<h2 id="footer">Jump to bottom<h2>
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.
I am sorry, this is my first time posting on here so I am not familiar with how to do things, I do apologize. Thank you for fixing my post. I really appreciate it.
I see. Thank you. And here is the code that I have. The entire of it. I removed the whole body text thing that doesn’t really matter. But here is the code I have.
<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.">
</main>
<footer>Copyright Cat Photo App</footer>
Are you able to just tell me exactly what I need to write? I hate giving up but I am at the limit where it is pissing me off now. I have been stuck on this for 4 days now and I just want to move on.
That is what I put too, I don’t know how to put multiple screenshots but I have also put that as well… and when I put that, it says “There should be only one footer tag on your page” and also says “the footer tag should have an id attribute set to footer”
This code will pass the test if you add an id like the h2 element has.
Add the id to the <footer>Copyright Cat Photo App</footer>
the id should be in here <footer id=""> but it needs footer in the quotes
Like this one <h2 id="footer>