Learn HTML by Building a Cat Photo App - Step 2

Hello to everybody! I’m new to coding and I’m taking the new web design certificate, but I’m having trouble with the code. Only one “h1” element is allowed per page, and lower importance headings are to be placed beneath higher importance headings. however, it says im wrong however it gives me a hint : it says Your h1 element should have an opening tag. Opening tags have this syntax: <elementName> . can someone please explain what im doing wrong?
Your code so far

<html>
  <body>
    <h2>Cat Photos.</h1>
  </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/105.0.0.0 Safari/537.36

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

Link to the challenge:

html tags have to have the same start and ending quote:
h1 Cat photos. h1

h1>h2>h3>h4>h5>h6

sorry. I’m not following. here what is asking me.

Step 2

The h1 through h6 heading elements are used to signify the importance of content below them. The lower the number, the higher the importance, so h2 elements have less importance than h1 elements. Only use one h1 element per page and place lower importance headings below higher importance headings.

Below the h1 element, add an h2 element with this text:

Cat Photos

here is what i added

Cat Phots

then i try

CatPhotoApp

but didn’t work. I know I’m missing something very simple but since I’m new I’m not getting it.

image

1 Like

Thank you so much for the help!

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