Learn HTML by Building a Cat Photo App - Step 5

hello, I’m facing problem here: they told me to put the (main) element’s closing tag below (p) element’s closing tag, and although I did as I was told like this:

<html>
  <body>

<main>
    <h1>Fluffy</p>
</main>

they keep telling me to put the main below p. what should I do?

Your code is incorrect as you have one element with two kinds of tags. To post your code as well as a link to the step press the help button which should appear next to the steps reset button after a few unsuccessful attempts to submit the step. Click on the create a new post option which will appear.

1 Like

I already did what you said above that’s why this post exists lol
i just want to know what should I do?

Hello!
As @anon86258595 pointed out, the code does not match what you were provided with at the beginning of the step.

Suggestion: Reset the step and follow the instructions carefully.

“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.”

Do not change anything. Only add the main element opening and closing element tags as directed.

Happy coding! :slight_smile:

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