I’m struggling with Step 14, I have tried every step I’ve tried wrapping the phrase cute cats inside the anchor element and I hope the anchor element is indeed <a href followed by the link with quotation marks and closes like this
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>Everyone loves <a href="cute cats"</a>https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg. online!</p>
<!-- User Editable Region -->
<p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Something similar to my code? Just making sure that’s what you meant.
Which text needs to be between the (a) element is it the whole “Everyone loves cute cats online!” text or just “cute cats” and do I keep the (p) element there as well while doing so?
This is the problem, here. The href attribute should point to the URL provided in the exercise (i.e. https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg), and should also be closed.
<a href="URL">your text here</a>.
And, yes, you can do this within the <p></p> tags, as @ILM pointed out, you have a perfect example already in your question.
I apologize for the duplicate topic I did add the URL within the (a) element and then added the text cute cat after and closed it, but it still didn’t work it says the text of the p element should still be Everyone loves cute cats online I really hope I get this its overwhelming me