Learn HTML by Building a Cat Photo App - Step 3

Tell us what’s happening:
Describe your issue in detail here.
it says
“Your p element should have an opening tag. Opening tags have the following syntax: .”
what element are there talking about? I am a bit confused what am I doing wrong?

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
    <p1><Click here to view more cat photos.></p1>
</body>
</html>
  **Your browser information:**

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

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

Link to the challenge:

Hey the syntax for any HTML elements is :

//opening tag    content     closing tag
       |            |             |
    <button>    my button     </button>

As you see, you have <> tags around your content too which is wrong.

Hope this helps! :smile:

1 Like