WDV 205 - Advanced CSS

Assingment 3-1 CSS Preprocessors

  1. What does a CSS Preprocessor do?
    1. CSS Preprocessors seem to extend the abilities and somewhat shorten the way you can write some CSS styles by using certain syntax and then translating that into CSS. They add the ability to use resources that other languages have such as variables, loops, and if/else statements. In short, they are programming languages that translate into and can work with CSS.
  2. What are the advantages of using a CSS Preprocessor?
    1. Since there is more available functionality to the preprocessor language, you don't have to repeat as much code when you write it. For instance, instead of writing the same color everywhere you need it, you can make a variable and use the variable. It also makes changing that color easier because you only need to change it in one place. It can also help the code be more organized, especially if the repeated variables and such are located at the top. This in turn can make coding go faster.
  3. What are the disadvantages or issues you need to consider when using a CSS Preprocessor?
    1. Some of the disadvantages include issues with compilation, debugging, and file size. Since there is a compilation step, that can slow down production and makes finding bugs difficult (because the file that can be seen is a CSS file and not the original file you wrote). And in generating the CSS file, you may end up with a much bigger file compared to the SCSS or LESS file that you started with.
  4. List at least Three CSS Preprocessors currently available.
    1. Three that came up a couple times: SCSS, LESS, and STYLUS.
  5. Research Web Development jobs and see how many of them list a CSS Preprocessor as one of their desired skills.
    1. Mostly they list CSS as a language that you need to know or be familiar with. I didn't find any that specifically requested knowledge of a CSS preprocessor.