Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
The challange says: " Identify the main section of this page by adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element."
The hint: Hint

Your main element’s opening tag should be below the bodyelement’s opening tag. You have them in the wrong order.
Your code so far

<html>
  <body>

<!-- User Editable Region -->

  <main>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>
  </main> 

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

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

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

Link to the challenge:

Welcome to our community!
The code is correct. Restart step. If it doesn’t pass again follow the note:
“Note: Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests. If you face issues, we recommend disabling extensions that modify the content or layout of pages, while taking the course.”

Give 2 spaces for the main and all the h1, h2, comment, p elements and restart it.

do you mean before? It is not helping.

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