Learn HTML by Building a Cat Photo App - Step 2

Tell us what’s happening:
Describe your issue in detail here.

Your code so far
Below the h1 element, add an h2 element with this text:

Cat Photos

<html>
  <body>

<!-- User Editable Region -->

 <h1_body_h2>

    

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

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

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

Link to the challenge:

So with the error you are getting " Below the h1 element, add an h2 element with this text:
Cat Photos" I am not seeing any text of “cat photos” in you code, and we need to fix the line you currently have. Here is what the default code gives you

`<html>
  <body>
    <h1>CatPhotoApp</h1>
    
  </body>
</html>`

You should not make any changes to this code, all your going to do is add on to the code. So, you shouldnt be making any changes to the h1. Now as the directions say again

Below the h1 element, add an h2 element with this text:
Cat Photos. This means you need an h2 below your h1

<html>
  <body>
    <h1>CatPhotoApp</h1>
    //your h2 needs to go here with the correct text
  </body>
</html>`Preformatted text`

I left you a note where your h2 needs to go. You see how the challenge makes the h1? You need to do the same thing but for an h2 with the correct text that the challenge gives you. I would reset the lesson so you can get the default code back, and then add your h2

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