Learn HTML by Building a Cat Photo App - Step 2

Tell us what’s happening:

CatPhotoApp

Cat Photos

It says my h1 elements text should be CatPhotoApp, what am I doing wrong?

Your code so far

<html>
  <body>

<!-- User Editable Region -->

    </h1>CatPhotoApp<h1>
    </h2>Cat Photos<h2>

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 2

You have the tags in the wrong order.
<h1> is the opening tag for the h1 element so it should go on the left of the CatPhotoApp, while </h1> is the closing tag and should go on the right.

Please fix h2 in a similar way.

1 Like