Learn HTML by Building a Cat Photo App - Step 1

I am in the learn-html-by-building-a-cat-photo-app - Step 1
Created code:
Cat nip
Now when I try to check code, it gives me following message:
Test: Sorry, your code does not pass.
Hint: Your h1 element should have an openeing tag.Opening tags have this syntex:.
In my code I have opening tag with syntx. .
I do not understand the issue with my code.

<html>
  <body>

<!-- User Editable Region -->

    <CatPhotoApp>Cat nip</>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

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

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

Link to the challenge:

1 Like

Hi! Welcome to the forum!

For reference:

<h1>This is a h1 element</h1>

The text of the h1 element goes between the tags. The tag on the left is the opening tag and the tag on the right with the slash at the start is the closing tag.

As it says in the instructions:

HTML elements have opening tags like <h1> and closing tags like </h1> .

Also:

Find the h1 element and change its text to:

CatPhotoApp

Does your h1 element have the text ‘CatPhotoApp’? Remember, the text goes in between the h1 tags.

<!-- User Editable Region -->

    <CatPhotoApp>Cat nip</>

<!-- User Editable Region -->

thanks but when i type in CatPhotoApp</
it then says is have to have a / after the <

1 Like

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like