Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Basics Structuring Your Content Grouping Content with <main> and <div>

Othmane Lferd
Othmane Lferd
486 Points

When I click on "enter" my next line, gets automatically indented. Am I doing something wrong?

When I click on "enter" my next line, gets automatically indented. Am I doing something wrong?

On the videos, it looks like it doesn't get indented, Can someone provide some insights?

Thank you

1 Answer

Steven Parker
Steven Parker
231,268 Points

Is the amount of indentation appropriate for structure of the document at that line? If so, it may just be an "auto indent" feature of the editor. Usually that's a good thing. I miss it when I use an editor that lacks it.

What you see in the video could be a different editor, or different version, and may not have that feature.

Othmane Lferd
Othmane Lferd
486 Points

I figured it out. Thank you !