Learn HTML by Building a Cat Photo App - Step 2

Tell us what’s happening:
Describe your issue in detail here.

I’m a novice having trouble with:

h1 element, add an h2 element

Please help. Thanks.

  **Your code so far**
  <h1>Cat Photos<h2>/
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

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

Link to the challenge:

The instructions want you to add a new line below the h1 line given to you.

So to reset the code: Click on the “Restart Step” button and reload the page and this will return the h1 element line back to its original value.

Next, add a new line underneath the h1 line. (Below it).
Then write a new h2 html element.

HTML h2 elements look like this:

<h2>This is My Header</h2>

So make sure your new line has the h2 start tag ‘<h2>’ followed immediately by the phrase you were asked to write, followed immediately by a closing tag ‘</h2>’

I also encourage you to review previous steps as many times as needed as you move forwards.

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