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
Adeeb Syed
3,275 PointsFrameworks for websites
Hey guys,
I finished the HTML and CSS deep dives and have been tinkering around with making some websites to reinforce what I've learned. One of the most difficult parts for me so far involves making the layout, especially using floats and clears. I think flexbox makes it easier but I haven't played around with it yet outside of the deep dive.
My main question is how do web developers generally go about creating a framework for their site? Do they make it from scratch with box model, floats and clears (or maybe flexbox)? Or do they use tools such as bootstrap? (which I still need to look into)There might be other methods I'm not aware of as well. What are the pros/cons of each?
Thanks for your time!
-Adeeb Syed
5 Answers
Anthony Lockett
24,266 PointsUsually we use frameworks, why invent the wheel twice
Erik Montes
3,717 PointsCreating a personal framework isn't that hard, and I would recommend you try it if you have the time to do so because you will learn from it. Later on, you can user existing frameworks to expedite your work. That's how I did it... good luck!
Adeeb Syed
3,275 PointsAppreciate the replies!
James Barnett
39,199 PointsI'd suggest you use simple grid, does exactly what it says nothing more so it's very easy to get started with.
Of course if you are having trouble understanding how to layout pages by hands using floats & margin then you might want to check out learn layout to solidify your understanding first.
Adeeb Syed
3,275 Pointslearnlayout.com was immensely helpful. Thanks a lot!