0
0
SASSmarkup~5 mins

File architecture patterns (7-1 pattern) in SASS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main idea behind the 7-1 pattern in Sass file architecture?
It organizes Sass files into 7 folders for different purposes plus 1 main file that imports them all. This keeps styles clean and easy to manage.
Click to reveal answer
beginner
Name three of the seven folders used in the 7-1 Sass pattern.
Common folders include: base (default styles), components (small UI parts), layout (page structure).
Click to reveal answer
beginner
Why is having a single main.scss file important in the 7-1 pattern?
It acts like a control center that imports all other partial files. This way, you only compile one file and keep your code organized.
Click to reveal answer
intermediate
What kind of styles go into the 'abstracts' folder in the 7-1 pattern?
Helpers like variables, functions, mixins, and placeholders that are reused throughout the project.
Click to reveal answer
intermediate
How does the 7-1 pattern help when working in a team?
It creates a clear, shared structure so everyone knows where to find or add styles. This reduces confusion and merge conflicts.
Click to reveal answer
In the 7-1 Sass pattern, which folder typically contains variables and mixins?
Aabstracts
Bcomponents
Clayout
Dpages
What is the purpose of the main.scss file in the 7-1 pattern?
ATo write all styles in one file
BTo import all partial Sass files
CTo store images
DTo hold JavaScript code
Which folder in the 7-1 pattern is best for styling buttons and sliders?
Abase
Bthemes
Ccomponents
Dvendors
Why is the 7-1 pattern useful for large projects?
AIt automatically writes CSS
BIt reduces the number of files
CIt removes the need for variables
DIt organizes styles for easier maintenance
Which folder would you use for third-party styles in the 7-1 pattern?
Avendors
Blayout
Cabstracts
Dbase
Explain the structure and purpose of the 7 folders in the 7-1 Sass pattern.
Think about how each folder groups related styles to keep code organized.
You got /7 concepts.
    Describe how the 7-1 pattern improves teamwork and project maintenance.
    Consider how organization helps multiple people work together smoothly.
    You got /5 concepts.