Help me please i need the solution

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>
</main>

<p> View more   cat photos  </p>

  **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.124 Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Welcome there,

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


Also, please change your thread title to describe your problem more clearly. Descriptive titles, such as “Why does my function return undefined?”, are more likely to elicit helpful responses than generic titles, such as “Help please”.

<h2>CatPhotoApp</h2>
<main>
//solution:
  <p>View more <a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a></p>
// end of solution

  <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>
</main>

Explanation:

  1. The task was to nest the existing a element within a new p element. So you should only have one a element. The a element should link to " https://www.freecatphotoapp.com " and your a element should have the anchor text of cat photos. (which has already been defined)

  2. You should create a new p element around the a element. Remember to add the closing tag. That way your a element would be nested within your new p element. There should be at least 3 total p tags in your HTML code.

  3. Your p element should have the text View more (with a space after it) before the beginning of the a element. NOTE THAT: Your a element should not have the text View more but rather cat photos.

Good Luck :blush:

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Okay. Well noted.
I will make sure to do that next time. Thank you.

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