I have a problem with nesting an a element within p element

Tell us what’s happening:
Hello, i have a problem, i don´t know what is the problem … i wrote it like this, and even followed the video tutorial, yet still i can´t do it. And i looked at similar problems, yet i haven´t seen a soulotion (i am not american and my grammar is not good -> so i think that there is a slight language barrier and i just don´t understand fully what is required of me in this challenge.)
Thank you for the answers.

Your code so far


<h2>CatPhotoApp</h2>
<main>
  <p>
View more <a href="http://freecodecamp.org">cat photos</a> 
  </p>
  <a href="http://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 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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph/

The instructions tell you to add the message “View more cat photos”. Try putting that at the beginning right after your paragraph tag and before the anchor tag. That should work. You have the nesting part right, but you didn’t add the words at the beginning.

I think its wrong because u dont have target attribute set to “_blank” in that achor tag which links freecodecamp.org

Hello thank you for the answer.
Unfortunatley even when i add “_blank” it has no effect.

If you look at the failing test, you will see:
Your a element should be nested within your new p element

If you re-read the instructions:

Now nest your existing a element within a new p element (just after the existing main element). The new paragraph should have text that says “View more cat photos”, where “cat photos” is a link, and the rest of the text is plain text.

This means that you should move the a element that was already there. What you did is create a new a element.

The anchor tag should contain catphotos link and not the freecodecamp link ,remove anchor tag containing freecodecamp link.and then add to it the text as instructed it will be done

Than you all very much for helping me reaching solution.

Have a great day :smiley: