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>

<!-- User Editable Region -->

  
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>
    
    

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; Nokia 6.1 Plus Build/QKQ1.190828.002; ) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.0.0 Mobile Safari/537.36 BingSapphire/27.2.411013302

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

Please someone should help me with step 5, I don’t get it.

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

" Identify the main section of this page by adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element."

Can you tell us where you are getting confused? The directions tell you what to use and where to put it. Maybe we can explain a bit better if you can lets us know on what part is causing problems

1 Like

Step 5 is confusing me, can you guide me on how to do it?

Please guide me through that step 5.

Hello @Techbro1.1 !

If you reset the step and place the main element opening tag on the blank line above the existing code; and place the closing tag on the line below all the existing code in the referenced area, I think you can pass the step.

I believe this is what Leader @Cody_Biggs is explaining to you clearly.

He provided the resolution.

Happy coding!

2 Likes

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