Nesting a element in p


<p> View more

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


I dont know what is wrong with this what this but Im getting :
/ running tests Your


element should be nested within your new


element. // tests completed

im totaly lost. I watched video couple of times and I still dont see what Im doing wrong.
I thought this was introductory level but explanation to those lessens are really hard to understand .

Here’s an example of a p element nested inside a div element:

  <p>I'm nested inside a div!</p>

You need to nest the a element inside a p element.

1 Like

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.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


  • Your opening a tag doesn’t have a >.
  • The words “cat photos” are not inside the a element.
  • I’m pretty sure that your url is wrong.
1 Like

Thanks Colin and Ariel. I messed up URL address.