Learn HTML by Building a Cat Photo App - Step 3

Tell us what’s happening:

For step 3 in lesson 1 of the HTML coding, why is my P element code not going through?

Cat Photos

See more cat photos in our gallery.

If this is not correct then what is the correct way to imput it?

Your code so far

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

<!-- User Editable Region -->

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

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 3

Hi there. Right now, you don’t actually have a p element right now. You see this is how you build an HTML element.

<openingTag>content</closingTag>

The opening and closing tag must have the exact same name. The challenge wants an opening p tag followed by the text listed in the directions, followed by a closing p tag.

Hope this helps.

You have wrong tags around your paragraph text.

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