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!

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

CSS Sass Basics Add Reusable Logic to Your Sass Add Conditional Logic to Your Stylesheets

Any chance "SASS" will replace ''JAVASCRIPT'' in the future?

I find SASS bears very amazing features relating to programming. Can it evolve to replace javascript ? or become a programming language all by itself?

3 Answers

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Hi there, Nafis! No, Sass will never replace JavaScript. Sass was developed to be an extension to CSS and produce CSS files. CSS is primarily concerned with styling elements of the DOM.

JavaScript, on the other hand, can do many things that CSS cannot do. Sure, JavaScript can apply styles to a page on the fly based on user preferences etc. But it also works as a backend language answering http requests, redirecting pages, authorizing users, accessing databases and more.

Also, on a side note, in contradiction to what was stated above, Sass was originally written in Ruby. You might consider checking out this video where the original developer of Sass (Hampton Catlin and Treehouse guest teacher) talk about how and why Sass was developed.

Hope this helps! :sparkles:

It really helps, thank you, Jennifer....

Unfortunately not cos SASS is written in Javascript. But Sass/SCSS is a powerful easy driven styling tool.