Grid Template Columns
Multiple Choice Easy
Question
What does 'grid-template-columns: 1fr 2fr' create?
Hint
fr is a fraction of the available space.
Explanation
fr units represent fractions of the available space. 1fr 2fr means the container is split into 3 parts (1+2): the first column gets 1/3 and the second gets 2/3. So the second column is twice as wide as the first.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.