Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
It has been challenging to move on from this step. The error message is “ Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> .” and I do not get what it needs.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more 
      <a href="https://freecatphotoapp.com">cat photos<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>.</p>
  </main>
</body>
</html>
    
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPad; CPU OS 15_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Mobile/15E148 Safari/604.1

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

Link to the challenge:

Hi!

The instructions are asking you to turn the image into a clickable link using <a>. Similar to how you created a text link in the line right before the <img>.

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