Hi friends, I’m attaching my instructions below for step 15.
The hint I was given is "Your img element should be nested within the anchor (a) element. The entire img element should be inside the opening and closing tags of the anchor (a) element.”
Can someone please tell me where my error is and what the code should look like for me to pass this level.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<a href> <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.">
</a>
</main>
</body>
</html>
Your mobile information:
iPhone - iOS17.6.1
Challenge: Learn HTML by Building a Cat Photo App - Step 15
Link to the challenge:
