Nesting anchor element within a paragraph

Tell us what’s happening: Could someone please help me understand what’s wrong with my code? I can’t seem to be able to figure out what the syntax error is here. Could someone please help?

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p> view more 
<a href="https://freecatphotoapp.com" target="_blank">cat photos</a>
</p>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

<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>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:77.0) Gecko/20100101 Firefox/77.0.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

Could someone let me know what’s wrong with my code? I can’t seem to be able to figure the Syntax error here. I can’t get pass this exercise.

Thanks and have a great afternoon!

Huh, it passes just fine for me. Have you tried clearing your cache and restarting your browser? What syntax error are you seeing?

Hello Jeremy,

Thanks for your reply. Some how it just passed for me by signing out and right back in again. I was getting a syntax error every time I pressed the (Run test button). I don’t remember the exact message right now, but it used to say target S at the end of it.

Than you for your help, I really appreciate it!

1 Like

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