Your a element should be nested within your new p element and Each of your a elements should have a closing tag. element and

Please help I have tried out all my options of completing this challenge

  **Your code so far**


<a href="" target="_blank">cat photos</a>

<img src="" alt="A cute orange cat lying on its back.">

<p>View More<target="_blank" a href=""> </a> link to</a> for you to follow. 

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

From the first line of code the anchor tag should be removed.
Also, in line 8 take out one of the closing anchor tag and I think it won’t throw an error. Is the problem solved?

Thanks so much!

Thank you Respectfully

HI @Dante24 !

Welcome to the forum!

I am glad you were able to figure out the issue. :grinning:

For future reference, make sure to read the directions very carefully.
Some of these lessons will want you to make changes to the existing HTML elements instead of creating a new one.

For example, in this lesson, you were supposed to work with this existing anchor element.

You weren’t supposed to create a new one because this one has errors in it.

Just something to keep in mind for future lessons.

Happy coding!

oh i see thank you so much for your help

no its still not working on my end

I did what you said & I am getting more errors now I am confused

So I figured out some of the solutions but am having trouble with nesting the a element inside the p element.

Your opening p tag should go before the anchor tag.
Then you have the View more text.
After the closing anchor tag you place the closing p tag.

  <a href="" target="_blank">cat photos</a>

Also, please write your code directly into the forum instead of posting screenshots.

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 (’).

Hello, sorry for the late reply
The syntax should be;

 <p >View more cat photos <a href="" target="_blank">cat photos</a></p>

Yes I finally figured it out! Thanks!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.