Learn HTML by Building a Cat Photo App - Step 5

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

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

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

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

Link to the challenge:

1 Like

Hi @CaptainAmericA and welcome!!

You just need to read more carefully the instructions and code, it is really important. You will solve problemas faster that way. Less bugs, less time solving a problem as well.

Identify the main section of this page by adding a <main> opening tag AFTER ** :wink:** the h1 element, and a </main> closing tag after the p element.

The most important part it is understand the question, it seems silly but it solves a lot of problems studying it. I even check the elements syntax some times on w3schools or mdn web docs, for example.

Remember also to read always the error message and hints, this one was clear, for example :grin::


Your main element’s opening tag should be below the h1 element. You have them in the wrong order.

Try also always to indent your code too. It is much easier to read and to debugg it.

Well done and happy coding!!

Thanks, it worked :slight_smile:

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