Problem with indentation

I have failed to indent my main code:

Your code so far


<h2>CatPhotoApp</h2>

<main> 
<p>Kitty ipsum dolor sit amet, shed  everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
<main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0.

Challenge: Introduction to HTML5 Elements

Link to the challenge:

You need to close your main section. Look what you have at the end of the code

it should have a closing tag with /

<main>...</main>

Oh Thank you
The problem is if i indent, it only moves the first line of the main element. Can you help with any PC shortcut of Indentation,if you don’t mind.

Oh Thank you. It was also helpful.
The problem is if i indent, it only moves the first line of the main element. Can you help with any PC shortcut of Indentation,if you don’t mind

FCC tell you shouldn’t tell ppl what mistake they have. That is why I didn’t tell like this and were cryptic

Put the cursor at the beginning of the line and click “tab” (or if you’d like to indent multiple lines, mark them with the mouse and click “tab”)

Okay Thank you, been trying out that, but let me try it out once again.

oh i understand. its my first time to help someone

2 Likes