Not sure what I’m doing wrong with this code
In the text of your p
element, turn the words cat photos
into a link by adding opening and closing anchor (a
) tags around these words. Then set the href
attribute to https://freecatphotoapp.com
See more <a cat photos in our gallery.
cat photos<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more <a cat photos</a> in our gallery.</p>
<a href="https://freecatphotoapp.com">cat photos</a>
<!-- User Editable Region -->
<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 (X11; CrOS x86_64 14816.131.5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 12