Newbiw Help: The footer tag should have an id attribute set to "footer"

Hey I am jsut starting coding for the first time today and I am doing a beginner program.

These are my instructions:
Change your external link to an internal link by changing the href attribute to “#footer” and the text from “cat photos” to “Jump to Bottom”.

Remove the target="_blank" attribute from the anchor tag since this causes the linked document to open in a new window tab.

Then add an id attribute with a value of “footer” to the <footer> element at the bottom of the page.

And this is what I have:

I keep getting a message saying "The footer tag should have an id attribute set to “footer” However, I thought I already had that. I messed around trying to figure out what it is and can’t seem to figure it out. Help is greatly appreciated!

Thank you

The 2nd photo:

Hi,

Add the attribute id="footer" in the footer tag (<footer></footer>).

1 Like

I get this message. Am I missing something?

The attribute needs to be inside the angle brackets.

Hi,
As @chuckadams said, add the id attribute like this in the footer:
<footer id="footer">Copyright Cat Photo App</footer>

2 Likes

Merci pour la reponse