Learn HTML by Building a Cat Photo App - Step 5

guys I’m stuck can any one help me with that?

  **Your code so far**
<html>
<body>
  <h1><main>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <main><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/103.0.0.0 Safari/537.36

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

Link to the challenge:

Hi!

HTML elements are made up of an opening and closing tag. The opening tag comes first, the closing tag last. The closing tag has a slash in it.

<h1>Hello world</h1>

So if the lesson is asking you to put the main element after the h1 element, you need to put the main element opening tag after the h1 elements closing tag.

You do not need to add more than two main tags, those being the opening and closing main tags. Your one main closing tag is however in the correct place.

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