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

General Discussion

Question about frameworks like Bootstrap or Foundation

So i have pretty good skill now on my HTML/CSS , anyways i can layout a webpage with pretty good HTML and CSS. Though, i dont know JS. I use framworks like Bootstrap or foundaiton for my websites and ofc, the carousel ( image slider) is in JS i believe , same as the scroll navigation actvie .

But if this would disapear, i would be just left with basics of HTML and CSS, i know Basics of programming of JS etc.. but i just need more time to practice it .

My question is, what happen if they disapear? is it possibile? or this will be like for all my life here? i know you got the code downoladed but who knows : p

Im just curious if this is like a valuable skill coz bootstrap or foundation you can learn a week anyways but not HTML or CSS .

1 Answer

If I understand you correctly, your question is if knowing frameworks are a valuable skill? I'm going to assume that's correct, and my thoughts are yes and no.

The benefits of frameworks like Bootstrap and Foundation are well known. Problem with them is they are inherently large, unless you are diligent in slimming down what you don't need, they can become difficult to override default styles, can be difficult to not end up with another cookie cutter site, and I feel too many people let the framework dictate the design, not the other way around.

I've almost all but stopped using these large frameworks, because they are too opinionated. Lately I've been loving Pure CSS as my framework of choice. I've even rolled my own before, and it really wasn't that bad.

At one point earlier I relied heavily on Bootstrap until I learned enough to wean myself off of it.

Will these frameworks disappear? Maybe. Probably not. Or someone else would clone it and continue the development. Or there would be another framework that could be used.

I'd place all of your value in the skill of understanding semantic HTML and CSS. With that skill, you'd be able to quickly adapt and use any framework out there.

So what im thinking now is that, while using bootstrap, you learned even more and better how you could write CSS and HTML? well, i didnt do it for a while now, a month maybe or more? i guess ok 2months i think and im my head CSS is easy. What i mean , all you need is like vertical-aligh, text align, clear both , float right and left , as far as i remember that rnough , but all takes time. I believe that it would be good idea to make yourself a responsive dektop, tablet and mobile framework for fast coding.

While using bootstrap , i found it pretty easy to style things tbh, with devtool. I mean , the code to get to a particular element may be hell long : p but everything is possibile. Well at least for me now, i didnt make any fancy site with images all over the place , but i guess that wont make much difference .

Im working now in JS/jQuery and i do get how it kind of works , mostly talking baout he jQuery gallery , but if i would do it my self, i woudnt know the code , well more practice i believe .

With the basics of jQuery nd JS, beeing able to make gallery , scroll etc.. basicaly thats like alll needed right ? i believe that with it you can make all sort of cool stuff , even more then with bootstrap then the only part remaining is PHP i believe( language that i wait months to learn : p but first a bit of JS nd jQuery uh : p).

BDW, i have a problem on my mobile website, it seem that is okay but, if you pull your finger to the left, you can actualy drag the screen like 20px to the left : p and theres a 20px screen gap on the right of the phone . IS there a special code to fix it? i remember Guil on rewies talking about something like this if i remember well.