It keep responding my (p) element should have a nested anchor.. how do i go about it please

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href="">cat photos">target="_blank">
    <img src="" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 11; SM-A226B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36

Challenge: Step 13

Link to the challenge:

<p>Click here to view more <a href="">cat photos">target="_blank">`

You have some issues with the structure. You have an opening p tag, and you have an opening a tag (though the target should be in there). But then then you need a closing a tag and then a closing p tag.

It should look something like:

<p>the starting p text
  <a src="some url" target="some target">
    anchor text
  ending p text

It doesn’t have to be spread on different lines there, but that helps to show the structure.

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