Can I get a bit of Guidance here? HTML cat app step 15

Tell us what’s happening:
Basically. I feel as though i’ve done this correctly but i probably haven’t. However when i click the cat picture. the test taker tells me “it works! this is a link to:” However when i submit the code the test tells me i still need to close the anchor. but it appears to me as though i have closed it? yeah i’m just really confused on (what appear to be) mixed messages from the test taker

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a target="_blank" href="">cat photos</a> in our gallery.</p>
  <a href=""><img src="" </a>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 OPR/

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:


this is the message i get when i click the kitty pic. which is what i think is the goal of step 15?

What happened to the ending > on the img tag? Remember, a tag always begins with < and ends with >. Also, don’t delete the alt text on the image.

In general, you should only do exactly what the instructions ask and no more. Making any unexpected changes (such as deleting the alt text) will most likely cause the tests to fail.

I think i just need to reset now unfortunately cuz the only way i got the cat pic to show back up and be a link was deleting the alt text

I agree, restart the step to get the original HTML back. You should not make any changes to the img tag at all. The only thing you want to do is add the opening and closing a tags to turn the image into a link.

you were right about the > after the image link. tester passed the code afterwards. but i’m assuming it will just fail in later steps because of the removed alt text

No, that won’t be an issue. When you move to the next step the alt text will be in there again. Each step starts with the HTML as it should be, you just make changes to it.

I am actually surprised the tests passed when you removed the alt text, but I guess they weren’t specifically checking for that and the lack of it doesn’t necessarily affect the ability to turn the image into a link.

But be warned, most of the time, if you make changes that weren’t asked for then the tests will fail.

ohhh i see thanks a bunch smooth <3

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.