Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
I type in my code correctly as far as I know, it is also in the format as explained on “HTML Link – How to Turn an Image into a Link and Nest Links Inside Paragraphs” yet it still does not work.
Error: Test

Sorry, your code does not pass. Hang in there.


Your anchor (a) element should have an opening tag. Opening tags have this syntax: <elementName>.

Your code so far

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

<!-- User Editable Region -->

    <a href=”https://freecatphotoapp.com”><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."/></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

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

Link to the challenge:

You have the wrong type of quotes here. You need to use the straight quotes that look like this "

I changed the quotes and checked all, but it is still give the same error

A cute orange cat lying on its back.

I reset the lesson and then it worked, thank you

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