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 trialUdida Roland
Courses Plus Student 613 Pointsplease help me address this problem
Should I be using Flexbox or floats in building my website? What about these newer methods such as Grid?. Please help me understand
3 Answers
Valeshan Naidoo
27,008 PointsI try to avoid using floats these days. Flexbox and grid layout actually work really well together. Grid layout for the overall structure of the site (navbar, content sections, footer etc). And flexbox for the positioning of the content within any given container, for example positioning the navbar content where you want, or making a block of content have elements positioned in a certain way (like image on top, text in middle, button at bottom).
Udida Roland
Courses Plus Student 613 PointsThanks for the reply... One more problem, I really dont know how to go about this, I had purchased a domain and i want to build a website that is up to standard, should I begin by creating the mobile view and then walking my way up to the desktop view with media queries, what am trying to understand is, what approach do i use to build my website so it looks good on all devices.
Valeshan Naidoo
27,008 PointsMobile first is always the way to go. It's easier from a design perspective since you start off with understanding what the essential components of your site are, and its easier to expand out than narrow down. And you're right about using media queries.
There's a design course on treehouse that goes into detail about this, so I recommend doing that. Hope this all helps.