I need help figuring this out, when i run the code it says i can only have one anchor element and its not properly nested in my paragraph elements
<p>View more <a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a></p>
User Agent is:
Mozilla/5.0 (X11; CrOS x86_64 14324.72.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.91 Safari/537.36
Challenge: Nest an Anchor Element within a Paragraph
Link to the challenge:
Hi @debichikere !
Welcome to the forum!
When asking questions on the forum, please post the full code so we can see the issue better.
If you are getting that error message, it is probably because you created a new anchor tag.
Double check your code and make sure you only have one anchor tag on the page and not two.
Hope that helps!
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 (’).
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.