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

CSS

I made a site that has elements positioned side by side.

I was just practicing some html and css. I made a site that has four boxes of text that appear side by side. I'll leave the code pen link below if you want to check it out and give me some tips about the css? I normally write the css in the order it appears in the html mark up. I know the colors I used are little "off" but, I want to play some GTA 5 on the ps3 :D :D Also if you minimize the browser view port, at a certain point there will be scroll bars that appear in each box. I used overflow auto on the divs because text will spill out otherwise. It only took me just under a hour to make the first page, in the past it would've been a all day event. Thanks in advance for any input.

http://codepen.io/mike316/pen/qBnHy

1 Answer

Congrats!!! Im exactly where you are as well. Been plugging away trying to understand it all myself. Funny you said GTA 5 I haven't put that in the PS3 in quite a while. Same with BF3 or BF4. Anyways. I'm no expert by any means. I saw you labeled the nav class nav. Any reason for that? If not mistaken you could have just left it as nav with out a class. Other than that looks good!!

I don't like to just leave it with the "variable" nav I like to name it with class and style the nav that way. Thank you for the compliment also...back to gta five :D