The instruction in step 12 is :
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
this is my line code in step 12:
and I receive this message: After nesting the anchor (a
) element, the only p
element content visible in the browser should be See more cat photos in our gallery.
Double check the text, spacing, or punctuation of both the p
and nested anchor element.
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p><a href="https://freecatphotoapp.com">cat photos</a></p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
<!-- User Editable Region -->
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge: