Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.
I am asked to add a closing main element after p element. I tried but my code is not passing :frowning:

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Hello Jeremy,
Thank you very much. I’ve just did!

Hello there
my suggestion:

  1. click Restart Step Pop up message will appear, click Reset this lesson
    it will bring back the original code from FCC
  2. Identify the main section of this page by adding a <main> opening tag after the h1 element,
    Write the <main> after the closing h1
    and a </main> closing tag after the closing p element

the main element will wrap h2 element, comment and p element

Hope this will help. Happy coding

1 Like

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