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**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <h2>Cat Photos<h2>
</body>
</html>
  **Your browser information:**

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

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

Link to the challenge:

Hey! it would be much easier for others to help you if you add a description of the problem you’re facing.

In the particular problem,

Hey! the syntax for HTML elements is this

//opening tag   content     closing tag
    |             |              | 
<button>      Button One     </button>

what makes a closing tag different from an opening tag is that a closing tag begins with a slash “/”. and in your answer, you just have two closing tags, which is why it doesn’t work.

try changing the closing tag.

Hope this helps! :smile:

1 Like

thankyou for your help

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