Tell us what’s happening:
. The opening p tag should have indentation that matches your h2 and comment elements. Its opening tag should start 6 spaces over from the start of the line.
Your code so far
<html>
<body>
<!-- User Editable Region -->
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
</main>
<!-- 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/129.0.0.0 Safari/537.36 Edg/129.0.0.0
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 6
Please Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
Hello there @maxbligt
So the error is telling you to to align the "opening <p> tag" with "<h1>, <h2> and with <!-- comment tag-->
.
In programming, indentation refers to the spaces or tabs at the beginning of a line of code. It is used to visually group and organize the code, making it more readable and easier to understand.
If you’re still unable to understand what the challenge is asking from you, then look at the challenge text again.
Here what the challenge text say:
The h1
element, h2
element and the comment are indented two spaces more than the main
element in the code below. Use the space bar on your keyboard to add two more spaces in front of the
p element so that it is indented properly as well
.
Use the space bar twice in front of the p
element.
Thanks, I hope this will help you to understand what you’re missing.
3 Likes
Hey buddy Kinldy Pay more attention where you need to adjust your p tag
So that it will be as same as h2 or comment line
1 Like