I am stuck on nest an anchor element

please see photo on the link

Hi @notimetoluz ,

You have a second anchor element in the paragraph below the image. That is probably throwing the error.

Also, check your href and target attribute values in the first anchor element.


Screenshot (100)_LI

Put your underscore _ in the quotes not outside of it see in the image above I marked it where it is and where to change.

Screenshot (101)_LI

You probably don’t need this anchor element so delete it but keep the everywhere text

Hope this helps


Thank you for the clear answer. Unfortunately its stil don’t work. Can somebody show me how the result look like? i must admit that by now i don’t understand the command that has to be carry out. I am lost!

can you please post your code instead of a screenshot? and the link to the challenge?

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

1 Like

the command
Nest the existing a element within a new p element. The new paragraph should have text that says View more cat photos , where cat photos is a link, and the rest is plain text.

<p> View more 
  <a href="https://freecatphotoapp.com_"target="_blank">cat photos</a>

  <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

  <p>Kitty ipsum dolor sit amet, shed <a href="http://freecatphotoapp.com"> view more cat photos<a/> 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>

Screenshot (103)_LI

The underscore shown here should be removed because only the target attribute should have the underscore.


you have the wrong href, there is at least an extra character at the end

also, going to a new line inside the p element may have the tests failing


This one at the end in the link.


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