Hi, my tribute page is failing test #7 (an anchor element with a corresponding id=“tribute-info”). I’m getting this error:
<a> element with id="tribute-link" must contain an href attribute
If anyone has a moment to check my page and point out the error, I would really appreciate it!
Hi! I think the problem is that you have two id=“tribute-link”. If you change the p’s id, it should work fine.
<p id="tribute-link">For more information, please read
<a href="#" id="tribute-link" target="_blank">J. R. R. Tolkien's Wikipedia page</a>.</p>
The error says
7. I should see an <a> element with a corresponding id="tribute-link"
You have the
id set on the
p element, not the
Omg I removed it and it still wasn’t working, and when I just went back to look again, the p id was back so I guess it didn’t register that I deleted it in the first place. Now it’s really deleted and that fixed it. Thank you both!
Glad to help, glad you got it sorted out.