I am not to make create a link with the "cat photos" each time i try, its either it hightlights everything or nothing at all

Tell us what’s happening:
Describe your issue in detail here.
I am not to make create a link with the “cat photos” each time I try, its either it highlights everything or nothing at all. please whoever has gone past this stage should help me please.

 **Your code so far**

<h2>CatPhotoApp</h2>
<main>

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

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

You should create a new p element. There should be at least 3 total p tags in your HTML code.

You are missing a p element. Your a element needs to be inside a p element with the appropriate text.

First, lets look at the two elements they are talking about here.

An <a href> and a <p>.

<a href> An anchor link, allows you to create a link using text.
<p> Represents a text Paragraph.

Nesting means to put one element inside another element.

In this case, they are asking you to put an <a href> element inside the <p> element.


What this looks like :

This text contains a link

<p> This text contains a <a href="https://www.cat-photo.com" target="_blank">link</a></p>

View more photos of some cats

<p> View more <a href="https://www.cat-photo.com" target="_blank">photos of some cats</a></p>

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