Apperently my is missing closing tags? Ive tried writting the code:
See more cat photos in our gallery.
and that didnt work as well as variations of the code to see if i could luckily change something and it work tbh.. but again, did not. Can you help me?
So far the code looks like:
1
2
3
CatPhotoApp
4 Cat Photos
5 See more cat photos in our gallery.
Your code so far
<html>
<body>
<h1>CatPhotoApp</h1>
<!-- User Editable Region -->
</h2>Cat Photos</h2>
</P>See more cat photos in our gallery.</P>
<!-- 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/126.0.0.0 Safari/537.36
Please click the reset button first as it would be good to restart this step with the code as it was at the start.
After that, please read the following:
All html elements have 2 tags. The opening tag and the closing tag.
The opening tag starts with the angled bracket < while the closing tag starts with </
Both tags end with >
Examples: <html> is an opening tag. </html> is a closing tag.
Together they make an element.
Another example: <h1> is an opening tag </h1> is a closing tag
Together they make one element.
Elements that have opening and closing tags usually contain text in between them.
Think of these tags like a marker pen.
They are used to mark text so that the browser knows what you want that text to look like.
Example:
Here the browser will see the h1 opening tag and and h1 closing tag and know that you wanted the CatPhotoApp to be marked as a header 1 type.
There are other types of headers like h2 <h2>I'm going to be slightly smaller</h2>
Again, the h2 element has the two tags (opening and closing) with some text in between.
Sometimes elements can also have other elements inside them. You will learn about that later.
For now, after you have reset the step.
create a new p element using the rules I mentioned to you (opening tags and closing tags are written differently)