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**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p>
  <h1>Cat Photos</h2><p>Click here to view more cat photos</p> 

</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

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

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


What is this line?

I do not see any main tags anywhere.

I’m having a problem with stage 5 talking about . I try all the suggested method still didn’t get it right. please, I need a help to continue my lesson.

Did you see what I wrote here?

You should delete that extra line. Also, you must have main tags in your code.

HTML5 has some elements that identify different content areas. These elements make your HTML easier to read and help with Search Engine Optimization (SEO) and accessibility.

Identify the main section of this page by adding a <main> opening tag after the h1 element, and a </main> closing tag after the p element. <h1><main> cat photos</h1><p>click here to view more cat photos</p></main> I want to know where I’m getting it wrong please.

Your code looks all jumbled together, so it is hard for me to see what exactly you typed.

Please post all of your code with the line breaks

<h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>

Identify the main section of this page by adding a <main> opening tag after the h1 element, and a </main> closing tag after the p element. this is the question. please, help me out

I finally get it right. thank you

1 Like