Please give me a video tutorial

Tell us what’s happening:
Describe your issue in detail here.

   **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<p> Here's a <a target="_blank". href="https://www.freecodecamp.org">link to www.freecodecamp.org<a/> for you to follow. </p>
 <a href="https://www.freecatphotoapp.com" "target="_blank">View more 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 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

<p>View more

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

</p>[quote="ss2334390, post:1, topic:491635, full:true"]
**Tell us what's happening:**
Describe your issue in detail here.


       **Your code so far**
       
```html

<h2>CatPhotoApp</h2>
<main>

<p> Here's a <a target="_blank". href="https://www.freecodecamp.org">link to www.freecodecamp.org<a/> for you to follow. </p>
 <a href="https://www.freecatphotoapp.com" "target="_blank">View more 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 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

[/quote]

Hi, I don’t think there is a video tutorial for it so I’m trying to provide a small guide where you are going wrong.

First, this line isn’t required, so remove it:
<p> Here's a <a target="_blank". href="https://www.freecodecamp.org">link to www.freecodecamp.org<a/> for you to follow. </p>

Now as per instructions, this is the anchor tag that needs to be nested in p element:
<a href="https://www.freecatphotoapp.com" "target="_blank">View more cat photos</a>

Nesting syntax:

<p>
  <a href="#" >anchor text</a>
</p>

image

Now, further in instruction, it asks to add View more text in p element and not in the a tag inside it. In you case you have added View more text in anchor text.
Correct way:

<p>View more 
  <a href="#" >anchor text</a>
</p>

Don’t forget to give one extra space after “View more”.

This will correct your code.

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