Nest an anchor within a paragraph

Tell us what’s happening:

I AM STACK LINKING THE TEXT VIEW MORE PHOTOS TO THE EXTERNAL WEBSITE


<h2>CatPhotoApp</h2>
<main>


<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>
<img src="https://bit.ly/fcc-relaxing-cat >alt="https://pixabay.com>images>cat">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

Based on what you are trying to do and what I understood, you want to link a text, in this case “View more photos”.

Try this:

<h2>CatPhotoApp</h2>
<main>


<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.
<a href="https://pixabay.com/images/search/cat/" target = _BLANK> View more photos</a></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>
<img  src="https://bit.ly/fcc-relaxing-cat" alt="Happy Kitty">
1 Like

thanks it has worked

1 Like

You´re welcome :slight_smile: