I have added my opening and closing anchor tags but my code isn’t passing. I’m not sure how to fix my problem.
See more cat photosin our gallery.<a href="https://freecatphotoapp.com"
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more in our gallery.<a href="https://freecatphotoapp.com">cat photos</a></p>
<!-- User Editable Region -->
<a href="https://freecatphotoapp.com">link to cat pictures</a>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Please click reset again.
This time, count how many words there are in the p element.
I counted 7 words.
The anchor tag is supposed to go around words 3 and 4 (cat photos).
it really is exactly what I am saying to you. Please follow the steps.
1- click reset (this will restore the code)
2- count the words you see inside the p element (I counted 7)
3- add your opening anchor tag to the left of the 3rd word (cat)
4- add your closing anchor tag to the right of the 4th word (photos)