My code not working
Having difficulty in step 2 HTML.
Your code so far
<h1>
<CatPhotoApp>
<!-- User Editable Region -->
CatPhotoApp</h1>
<elementName>
<!-- User Editable Region -->
</CatPhotoApp>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 2
Link to the challenge:
Hi there and welcome to our community!
It looks like your code has become a little muddled.
Click the Reset the Lesson button and then follow the instructions again.
You should be starting with this line of code:
<h1>CatPhotoApp</h1>
This is an h1
(heading) element, used to display page or subject headings. The element consists of an opening tag (<h1>
), the text content (CatPhotoApp
) and a closing tag (</h1>
).
For this step, you should add an h2
element, on the line below the h1
element. Use the same syntax as the h1
element: An opening h2
tag, the text content (Cat Photos
) and a closing h2
tag.
Hi there, I tried this but it didn’t work out for me. Please is there any other solution? thank you.
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.