
CSS Layout Quiz
Authored by Nayab Mishal
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Henry and Sophie are designing a cool website. Which CSS property should they use to turn a boring element into a Flex container and make their layout awesome?
display: grid
display: flex
position: relative
float: left
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scarlett and Arjun are designing a cool website using CSS Grid! Which CSS property should they use to set the number of columns in their grid layout?
grid-template-columns
grid-auto-rows
column-count
flex-direction
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiara, Ava, and Charlie are working on a web project together. They want to organize their page layout using Flexbox. Which of the following best describes what Flexbox is?
Two-dimensional layout system
One-dimensional layout system
Inline styling tool
Float-based layout system
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS Grid property defines gaps between rows and columns?
margin
padding
grid-gap
spacing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiara and Harry are building a cool website using Flexbox! They want to know: what does the 'justify-content' property do in Flexbox?
Controls alignment along the cross axis
Controls alignment along the main axis
Defines grid template rows
Sets margin between items
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Priya, Aarav, and Daniel are working on a web design project. They want to use Flexbox, but one of the following properties doesn't belong! Can you help them spot the odd one out?
flex-grow
flex-shrink
flex-basis
grid-template-areas
7.
FILL IN THE BLANKS QUESTION
30 sec • 1 pt
Benjamin and Isabelle are designing a cool website using Flexbox. They want their elements to wrap onto a new line when there's not enough space. Which CSS property should they use to make this happen?
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?