Its can'tn submitting the code

It can’t be submitting the HTML. can someone tell me why?


<html>
<body>
 <main>
    <h1>CatPhotoApp</h1>
    <!-- <h2>Cat Photos</h2> -->
    <!-- ToDo: Add a link to cat photos. -->
    <p>Click here to view more cat Photos.</p>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Challenge: Step 5

Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-5![Screenshot from 2022-05-30 12-19-55|439x500](upload://55Tjl0i8X1V8ZNJ7qM5wpdgranu.png)

Hi your main tags are in the correct place. But you’ve commented out the h2 element.

The lesson isn’t asking you to do this, please remove the <!— —> from around the h2 and the code should pass.

1 Like

sure,
Thanks for the instant response.

1 Like

No problem! Glad I could help.

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