Learn HTML by Building a Cat Photo App - Step 1

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

  **Your code so far**
  <h1>Hello World</h1>
</body><h1> I will give all my efforts to protect my loved ones</h1>  
</html><h1> I make the decision better 
  **Your browser information:**

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

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

Link to the challenge:

There are a number of issues here.

First of all, if you are following the challenge, you need to write out exactly what it tells you for text in all of the elements or it won’t pass. The challenge asks that you to create an h1 element with the text “CatPhotoApp”. Having different text in your h1 will automatically fail the challenge. The challenge is also only asking for a single h1 element you have included two extras, this will also result in not passing the challenge.

There are a few more issues in the code, but if you change the h1 text to what you were asked to use and you delete the extra elements, it will resolve them as well.

You have here is improper nesting of your elements. Your second and third h1 elements are not properly nested inside the body element.

I also see that your third h1 element does not have a closing tag </h1>

Lastly, it is typically recommended that you only use a single h1 element per page. If your goal is to make the text larger or bolder, that can be accomplished with styling the text.

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