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
Jonathan Warrick
3,191 PointsLearning CSS - With or Without a Framework?
I've gotten through the HTML and CSS deep-dives as well as most of the Cupcake Website project at this point and am feeling comfortable enough to start working on my own projects. I have an idea for a very basic website that I would like to put into creation and started doing so, trying to leverage a grid framework, but I feel like it may be causing more harm than good. I started with Foundation 3, which seems to have a plethora of options and built-in features, but it is quite overwhelming - I can't even figure out how to do basic things like center-align an image across a specified number of columns, something I can certainly do otherwise.
Would it be better for me to implement a more basic website that can serve as the foundation for later, improved versions without a grid framework? Would people recommend that I use a less-complex framework (similar to the grid system implemented in the coursework or something more barebones like Skeleton)? I don't want to get bogged down in all of these extras if they prohibit me from completing a basic version of my website.
4 Answers
James Barnett
39,199 PointsPersonally I think that the Zurb foundation & Bootstrap add in too much to start with. You need to learn to walk before you run.
So learning the foundations of: fluid grids, fluid images, good typography, media queries. Then maybe add in a pre-processor like less.
Once you've got those down you will be better able to work on a large site that is already using a framework. However I'm a firm believer in not solving problems you don't have yet.
There's a great thread in this forum on using CSS frameworks that might interest you.
I'll leave you with my favorite quote on frameworks
Make sure every bit of code added to your project is there for a reason you can explain, not just because it is part of some standard toolkit or boilerplate.
Allison Grayce Marshall
Treehouse Guest TeacherI don't think there is a right or wrong way to learn and there are definitely pros and cons to both. But I personally learned how to code without frameworks. I think it's important to go through the triumphs and tribulations of learning to code from scratch. Nothing is more rewarding than going from nothing to a working site entirely on your own :)
That said, once you understand what, why, and how the code is working in the framework, I think it can be a helpful time saver to then build your site on.
Another way to look at frameworks is as a learning opportunity. Delete lines of code, change things, and manipulate things and see what happens.
James Barnett
39,199 PointsI would like to put into creation and started doing so, trying to leverage a grid framework, but I feel like it may be causing more harm than good.
I'm a firm believer in not trying to solve problems you don't have yet. You may find this article of interest Stop solving problems you don't yet have
Denisse Cabieses
6,411 PointsI would recommend learning the basic and not using frameworks until you are comfortable with the code 100%. Frameworks are very helpful and cut a lot of time but can get very confusing if you do not have the basics down first. I try to use a framework before understanding the basic HTML and CSS and it was a total disaster.