I'm stuck in the seventh step

Tell us what’s happening:
Describe your issue in detail here.

  **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.</p>
                                         </main>
</body>
</html>
  **Your browser information:**

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

Challenge: Step 5

Link to the challenge:

Hello,
Welcome to the Forums :wave:


The heading says that you are stuck in the seventh step but the code and link are of the fifth step.

Assuming you are in Step 5:

Your opening <main> element should be after the closing </h1> tag.

Note: When you are asked to add an element like a p element after an element like a h1 element, you have to add the p element(an example here) after the closing h1 element(as mentioned in the example).

The instuctions say to start the <main> element after the <h1> element meaning after the <h1> and and </h1>.

This doesn’t make sense why you indented the <main> that much. Just put it on the next line after <p> for readability’s sake.

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