Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.
hi, imstruggling to do the element
thanx

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

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

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

Link to the challenge:

restart
then add

<main>

don’t forget to add a closing tag

Hi! Welcome to the forum!

You’ve put the element in the right place, but you need to use a <main> element as shown in the lesson description.

This is the main opening tag <main>

This is the main closing tag </main>

They need to go where you have written <elementh1> and </elementp>. Those are not valid html elements and you need to use the <main> element the lesson asks you to use.

thanx very much for your help

1 Like