Learn HTML by Building a Cat Photo App - Step 3

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

Your code so far
Not understanding how to add the text using the

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

<!-- User Editable Region -->

    <h2>Cat Photos</h2>
    <h3></p> See more cat photos in our gallery.</h3>

<!-- 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/117.0.0.0 Safari/537.36

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

Link to the challenge:

I figured it out by deleting the

, I suppose I still lack the understanding. I assumed it was next down the list to use h3

Hi there and welcome to our community!

The h1 element is a main heading for an HTML document. h2, h3, etc are used for progressively smaller sub-headings.

The p element is a paragraph element, which appears at the default font size of the document (16 px, unless changed).

Elements are defined simply by their tags. Most have an opening and closing tag, comprised of angle brackets (with a forward slash in the closing tag) and the name of element. So, to create a paragraph element, you simply put the letter ‘p’ inside the tags, instead of ‘h1’, ‘h2’ etc.

1 Like

Thank you for your time and explanation!

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