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 i have this question 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

<html>
  <body>

<!-- User Editable Region -->

    <h1>h2Cat Photo

<!-- 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/116.0.0.0 Safari/537.36 Edg/116.0.1938.69

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

Link to the challenge:

This step states to place an h2 element below the h1.

I suggest resetting the step and not changing the h1.
Follow the directions to place the h2 below the h1.

Hope this helps you

1 Like

Dont touch the tags. you should have the text ‘cat photos’ plurel and it should be between opening and closing h2 tags as anything between tags shows up on page.
Ex of paragraph between opening and closing p tags:

<p>This is a paragraph </p>
Hope this helps.
1 Like

am new to coding and it’s my second day can you show me an example.

Sure.
Wow, Congratulations :partying_face: :partying_face: :partying_face:!!!
First click on the reset button to reset your code. Then under the <h2>Cat Photo App</h2> element you want to add a new heading element this time using opening and closing <h1> </h1> tags and put the text Cat Photos between both tags.
Ex:

<h3>This is a sub heading with h3 tags</h3>
Hope this helps and Good luck coding :+1:

Did it work for you?

Yes it did tank you very much, am Richard by the way from Zambia

1 Like

Sure, Happy to help @Dip . I’m Cinderella Lol. :smile:

Cinderella :blush: it seems you know a lot about coding

1 Like

Step 5 what are there asking for

HTML5 has some elements that identify different content areas. These elements make your HTML easier to read and help with Search Engine Optimization (SEO) and accessibility.

Identify the main section of this page by adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element.

Thank you, :blush: you made my day, I hope its true…
You should create a new post for each question that is relevant to a different step. That we others can view your code properly and be able to answer…

1 Like