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

Benjamin Lowry
Benjamin Lowry
7,941 Points

Using different external stylesheets.

Hey guys and gals, I have recently just opened a workspace and have been trying to build a simple website that implements a lot of the different concepts I have been learning about lately. So my question, which I have been finding a lot of them lately, is if I can and/or should use CSS flexbox AND another external stylesheet for my project, or if I simply only need to create and put ALL CSS content into one place. Is there a reason for doing one over the other? Preferences? I just dont know...

I know this may sound silly to someone who answers but its simply amazing how much you start to not really understand when you try this stuff on your own!

Any help is always appreciated!

Thanks!

2 Answers

Ari Misha
Ari Misha
19,323 Points

Hiya there! Nothing is Silly and every question is important. Now before answering your question, i wanna point out that im not super good at CSS but i've worked with css in the past within projects. Now lets get to the topic. Whenever im creating a project , i dont like tedious and repetitive tasks, and you shouldnt as well coz its creates big ball of mud. Its just a silly term thats being used when you have repetitions and too many dependencies in your code especially when your application goes in production and ready for deployment to remote servers. I simply prefer SASS(im not talking about .scss sass , im talking about .sass) and bootstrap and Flexbox and jQuery. Whatever you wanna achieve with CSS, it can achieved with modular files associated in your app with Bootstrap, Flexbox and SASS. Bootststrap gives you something outta box and basically SASS makes CSS fun and beautiful and elegant. And Flexbox is even one step ahead.

But here i also wanna mention Front end libraries like jQuery, Animate.js, React etc. There is a chance that whatever you wanna manipulate with CSS, you could do it jQuery. And jQuery is pretty much javascript so there is no doubt about its ability to stuff with DOM. React creates UIs within SPAs(Single Page Applications). And Animate.js already comes with a lot of JavaScript and CSS to help you achieve something remarkable. There are many other libraries out there just to achieve anything you want. I hope it helped!

~ Ari

Benjamin Lowry
Benjamin Lowry
7,941 Points

Thanks for the response, seems that with my knowledge of these things so far I can get a good grasp on some of these applications. Currently working through JQuery so I was hoping to mess around and add some features with that by the end of my little "project".