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

Working with grids on windows

I want to put the withespace, I'm using Windows and I pressed ctrl+square brakets.But nothing it's changing:( Can anyone please explaine me this?

5 Answers

Tom Bedford
Tom Bedford
15,645 Points

If you aren't using Sublime Text the shortcut may be different.

"Ctrl + ]" in Sublime Text works for me on windows.

You can also press "tab" to indent if you select either the start of one line or a block of text and "shift+tab" to remove indents.

Tom Bedford
Tom Bedford
15,645 Points

Also make sure you have the cursor on the right line or the correct text selected before pressing either shortcut.

I don't understand why it's still without margin, what I did wrong?

Tom Bedford
Tom Bedford
15,645 Points

Are you talking about changes to how your code looks or how the website looks?

Adding indents to organise your code won't change what appears in the browser.

I'm talking about how the website looks It doesn't change

I'm talkin about how the website look

Spacing in an HTML file is irrelevant to the appearance of a page in a web browser. If you are making CSS declarations that aren't showing up, you probably have the CSS mis-linked.

Tom Bedford
Tom Bedford
15,645 Points

Maybe check over that part of the video again as the shortcut mentioned is just for making your code easier to follow in a text editor not for adding any styling to the site.

See if Nick is changing/adding any code as well as indenting it.

James Barnett
James Barnett
39,199 Points

My guess is you need to link the grid.css file. If your link isn't working it's probably because of your file path. Here's a tutorial on file paths that should get you going.

Let us know how you are getting along with this here in this thread.