Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
How do I add a <main> opening tag before the h1 element, and a </main> closing tag after the p element. What is that supposed to look like?

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.131.4) 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:

What’s going on with these two? You should only add

and

The /main needs to come after everything you want inside of the main element - the two headers, the comment, and the paragraph.

this is the original code
you were supposed to add the main tag above the h1 line
and the closing tag below the p line

you are not supposed to add anything except these two tags.

So it would look like this?
<main><h1><h2><!--><p></main>

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

no, that is wrong.
The only thing you are supposed to do here is add one opening main tag and one closing main tag.
Please reset and try again.