Learn HTML by Building a Cat Photo App - Step 7

Tell us what’s happening:
Describe your issue in detail here.

I have created an element named img, but do not see why this does not meet the directions.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos 
      <p>Click here to view more cat photos.</p>
<img>
    
    </main>
  </body>
</html>

Your browser information:

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

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

Link to the challenge:

Hi!
Try removing the img tag after your p element.

Your new img tag is correct. The problem is that you accidentally remove the closing tag for the comment above the p element and so everything below that is being taken as a comment.

Ah, yes, I’m sorry. My mistake. I misread the instructions…

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