I don't know how to indent paragraph <p>

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball runcatnip eat the grass sniff.</p>
<main>
 <p> purr jump eat the grass rip the couch scratched    subathe, shed everywhere rip the couch sleep in the    sink fluffy furr catnipscratched </p>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 OPR/58.0.3135.132.

Link to the challenge:

The lesson has nothing to do with indenting a paragraph. It’s asking you to create a second paragraph (giving you the text for that paragraph) and then wrap both paragraphs with an opening and closing main tag.

You successfully created the second paragraph but failed to wrap both paragraphs in the main tag.

1 Like

ok , it works thank you

:+1: good deal…glad to help. Mark it as solved

with an opening and closing, yeah!) I did this way too

Just out of curiousity, why did you ask about indenting? It’s quite a common question on the forums, yet there is nothing in the task description that even mentions it (and indenting involves literally pressing the space bar at the start of a line, same as anywhere you type text in a computer program).

I think people are confusing “wrapping” with “indenting”

Though they do not refer to the same thing I think if you see the indentation of elements, its just a bunch of elements wrapped in against another

1 Like

As a side note, to indent all paragraphs, do

p {
    text-indent: 2em;
}

Pressing multiple spaces won’t work, html will distill it down to just 1 space between words or characters.

1 Like

Pretty sure it is because of the video where he talks about indenting the paragraph. But he never explains how he does the indentation, which he does by selecting the paragraph and pressing Tab.

BTW. This challenge has been updated. Both the challenge text and video should be much better now. But the main site isn’t updated with the new version yet.

3 Likes

Ahh, that makes sense. I was really confused as to why it kept coming up as an issue people were having with this challenge.