I am stuck in step 3

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <h1>CatPhotos</h2>
     <h1>:<clickheretoviewmorecatphotos></h2>
     </body>h1<clickheretoviewmorephotos>/h2
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 3

Link to the challenge:

The opening and closing tags always have to match- so your opening tag needs to be <h2> instead of <h1> since the instructions said to make “Cat Photos” the text for the <h2> element.

The letter(s)/word between the “<” and “>” are tags are the syntax of this markup language (For example, <h1> which creates a Header 1 element, <h2> which creates a Header 2 element, <p> which creates a paragraph element, etc). This is way to “code” in HTML, so therefore you can’t just put random words between the “<” and “>”, so remove the “clickheretoviewmorephotos” from between the “< >”
Also, get rid of the “:”. You don’t need it.

Get rid of the h1<clickheretoviewmorephotos>/h2 after the </body>- you only need that once and according to the instructions it goes right after the <h2> tag.

So your finished product should look like this instead:

<html>
<body>
   <h1>CatPhotoApp</h1>
   <h2>CatPhotos</h2>
   <p>Click here to view more cat photos<p> <!-- This is just a comment to explain the <p> element, but it is the paragraph element and that is what this lesson is teaching-->
</body>
</html>

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