Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.
is it like this?
Your code so far

<html>
  <body>

<!-- User Editable Region -->

<p>
</main>
<main>  
    <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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

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

Link to the challenge:

Your issue is here

I would suggest resetting the lesson.

You will want to add an opening main tag above the h1.

You did this part correctly

But then you will need to add a closing main tag below the p element

1 Like

If you need to write code in the forum you can do it like this

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

I can’t really do that its just its kinda confusing

Are you referring to the challenge?
Or to formatting your code?

Also, I see that you edited your code from earlier.

Not quite.

Delete this all together

You need to add a closing main tag below this existing p element

1 Like

thank you now I get it

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