Hi thanks in advance Im pulling my hair out

I cannot see how my a element isnt nested within the p

View more cat photos

r**

<h2>CatPhotoApp</h2>
<main>
<p>View more
<a href="http://freecatphotoapp.com target="_blank">cat photos </a>
</p>

<a href="https://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/88.0.4324.192 Safari/537.36.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

View more

<a href=“http://freecatphotoapp.com target=”_blank">cat photos

the tests are looking at this one, look carefully, you are missing a charactert

Review your red text of your < a >field as said by ieahleen you are missing something.

thank you I have no idea

i have checked each character and still no idea

Thank you for your help

No I still dont really understand

<h2>CatPhotoApp</h2>

<main>

  <a href="https://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>

This is your new anchor code which looks good.

This is your old anchor code. If you look at the href and your target you have different “”

Also your new code might be missing your original “p” element.

<h2>CatPhotoApp</h2>
<main>
<p>View more
<a href="http://freecatphotoapp.com target="_blank">cat photos </a>
</p>

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

<h2>CatPhotoApp</h2>

<main>

<p>View more

<a href="" target="_blank">cat photos </a>

</p>

<a href="https://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>

you need one single anchor element, the one you have need to have an href of https://freecatphotoapp.com and a target set to _blank and be nested in a p element

you need only one single anchor element in all your code

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