0
0
SASSmarkup~10 mins

SASS compilation to CSS - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to compile a SASS file to CSS using the command line.

SASS
sass [1] styles.css
Drag options to blanks, or click blank then click option'
Astyle.css
Binput.scss
Coutput.css
Dmain.sass
Attempts:
3 left
💡 Hint
Common Mistakes
Using the output file name as the input.
Confusing the order of input and output files.
2fill in blank
medium

Complete the command to watch a SASS file and automatically compile on changes.

SASS
sass --watch [1]:styles.css
Drag options to blanks, or click blank then click option'
Amain.scss
Binput.scss
Coutput.css
Dstyles.css
Attempts:
3 left
💡 Hint
Common Mistakes
Using the CSS file as input.
Forgetting to use the colon between input and output.
3fill in blank
hard

Fix the error in the command to compile SASS with compressed output style.

SASS
sass --style=[1] input.scss output.css
Drag options to blanks, or click blank then click option'
Acompact
Bexpanded
Cnested
Dcompressed
Attempts:
3 left
💡 Hint
Common Mistakes
Using an invalid style name.
Leaving out the equal sign.
4fill in blank
hard

Fill both blanks to compile a SASS file into a CSS file in one command.

SASS
sass [1]:[2]
Drag options to blanks, or click blank then click option'
Asrc/styles.scss
Bdist/styles.css
Csrc/main.scss
Ddist/main.css
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping input and output files.
Using CSS file as input.
5fill in blank
hard

Fill all three blanks to compile a SASS directory to a CSS directory with watch mode.

SASS
sass --watch [1]:[2] --style=[3]
Drag options to blanks, or click blank then click option'
Asrc/sass
Bdist/css
Ccompressed
Dexpanded
Attempts:
3 left
💡 Hint
Common Mistakes
Using file names instead of folder names.
Using wrong style option.