The a tag should have an href attribute set to “#footer”.
Passed
The a tag should not have a target attribute
Passed
The a text should be “Jump to Bottom”.
The footer tag should have an id attribute set to “footer”.
Thanks for your reply but what i wanted to ask was for the code in the first two lines. What am i missing please?
I wonder why my full code so far isn’t displaying.
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.
It looks like you have added the id “footer” to a h2 element instead of the footer element. It also looks like you have the text “Jump to Bottom” in two different elements. (It should only be in your a element.)