Tell us what’s happening:
Your code so far
I’m stuck. How do I get this done correctly? I feel as though I’ve tried different ways to complete this but I’m missing something. I have to add an anchor element after the paragraph that links to freecatphotoapp.com . At this point, the link won’t show up in the preview.
I’ve added an (a) element with the href but I’m still missing something.
How do I complete this?
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more cat photos in our gallery.</p>
<ahref="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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 10
Link to the challenge: