Build a Cat Photo App - Step 5

Tell us what’s happening:

I already put the main below from p but it still doesn’t work

Your code so far

<html>
  <body>

<!-- User Editable Region -->

  <main>
    <h1>Most important content of the document</h1>
    <p>Some more important content...</p>
    </main>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Everyone loves cute cats online!</p>
  

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 5
https://www.freecodecamp.org/learn/full-stack-developer/workshop-cat-photo-app/step-5

Hi. You are only asked to add the main opening and closing tags. Don’t add code from the example. I suggest you reset the step and only add what was asked.

1 Like

Hi Buddy. Here is the code provided in the code section !!

<h1>CatPhotoApp</h1>
 <h2>Cat Photos</h2>
 <!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>

Here you need to wrap this code inside main element when you wrap this in a main tag then you will identify the main content of the code…

Hope this makes you easy..

1 Like

thanks bud! I’m just new here, thanks again for helping me :>