I am struggling to nest my anchor element successfully

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>

<img src="https://www.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>
<p>View more <a href="https://www.freecatphotoapp.com">cat photos</a></p>
</main>
  **Your browser information:**

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

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hello,

The code you have written at the bottom, the nesting part is totally correct, only you have to have only 1 nested a element within a p element and you have 2 a elements on the challenge page.
Dont’t forget the _blank tag as well.

Hope that solves the stuck-up.

1 Like

Hello,

Thank you for your assistance, I realised I missed the “existing” from the task, and realised that I only had to create in the existing a element as you say, I didn’t include the blank though it did run and I’m on 70% of completing my HTML.

Ever since I’ve paid attention to details. Again💖Thank you so much

Just to be clear, _blank is not a tag. It is a value. In this case it goes with the target attribute.

Tags are used to mark up the start and end of an HTML element. For instance, these are paragraph tags <p> </p>.

1 Like

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