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!
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
Carman A
7,672 PointsProper use of section element
Okay, so I'm working on my website. On the home page I want two columns of images. One will be sites I've done for other people; and one of projects or things I've done for myself. So in short should I use the section element or a div? I know section shouldn't replace divs but it just seems like a lot of people have different opinions.
Is there a treehouse video on it? I can't seem to find one.
3 Answers

Tom Bedford
15,645 PointsHi Carman
This HTML5 flowchart is very handy for deciding which element to use. It also has links to detailed pages on each of the elements in the flowchart.
If you are going to have a heading (e.g. <h1>Sites for me</h1>
and <h1>Sites for other people</h1>
) for each column then it would be appropriate to use the section
element.

nvcxnvkldsjaklfds
Courses Plus Student 5,041 PointsPlease have a look at this one.
http://teamtreehouse.com/library/how-to-make-a-website#responsive-web-design-and-testing

Carman A
7,672 PointsThanks guys:)
Carman A
7,672 PointsCarman A
7,672 PointsThat chart is GREAT. Thank you!