How can i complete this excersice

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.freecodecamp.org" target="_blank">cat photos</a>
  
</p>
</main>
  **Your browser information:**

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

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hi @devaprasanna009 !

Welcome to the forum!

You are supposed to use this anchor tag.

You are not supposed to create a new anchor tag.

This is incorrect and needs to be deleted.

Wrap your tags around the correct anchor I just pointed out to you.

<h2>CatPhotoApp</h2>
<main>
  <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.freecodecamp.com" target="_blank">cat photos</a>

  </p>

</main>

hi @jwilkins.oboe
I think you correct, but just see here, I also use your answer
then also it shows error

// running tests The

a

element should link to "

https://www.freecatphotoapp.com

". Your

a

element should be nested within your new

p

element. Your

p

element should have the text

View more 

(with a space after it). // tests completed

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.

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


The a element should link to https://www.freecatphotoapp.com

You have:

https://www.freecodecamp.com

Maybe you have already solved it but you are using the wrong url here

Read the message very carefully for the correct one

Also, your text here is technically incorrect too.

Read through the error message for the correct text. (hint: capitalization matters)

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