Learn HTML by Building a Cat Photo App - Step 2

how to place h2

  **Your code so far**
<h1>Cat photos</h2>
<h2>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-2Preformatted text

At the start of the step you had this line:

<h1>CatPhotoApp</h1>

no need to change that

Lets describe it.

This whole stuff

<h1>CatPhotoApp</h1>

is an element.

  • <h1> - element’s opening tag
  • </h1> - element’s closing tag
  • CatPhotoApp - it’s text content inside an element

Knowing all that, re-read instructions, and try to complete this task.

1 Like