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

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.131.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

Notice how the h1 element has both an opening <h1> tag and a closing </h1> tag, with text in between them. All of that makes up the entire element. And the opening and closing tags need to have the same name (h1) in this case.

So you want to create a new element, an h2 element, below the h1 element and add the text Cat Photos to it. This means creating both the opening and closing tags for the h2 element and then putting the text inside of them.

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