Tell us what’s happening:
Describe your issue in detail here.—
If I include the required https, the (a) elements don’t work. If I don’t add it, the (a) elements are red but I get the error that I’m missing the https.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more <a target="_blank" 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 mobile information:
iPhone - iOS16.2
Challenge: Learn HTML by Building a Cat Photo App - Step 15
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
As the instructions describe " Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor’s href attribute value.". You need to surround the img tag with anchor tags(opening and closing tags). Do not forget to add the href attribute to the anchor tag. Which links the image to website “https://freecatphotoapp.com”. This should pass the tests ,