Search Header Logo

Flex CSS Quiz

Authored by Evelina Marcinkevičienė

Computers

Professional Development

Used 2+ times

Flex CSS Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of flex grid in CSS?

To add interactivity to a webpage

To create flexible and responsive layouts

To style text and images

To animate elements on a webpage

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a flex container in CSS?

A flex container is defined by setting the float property of an element to 'flex' or 'inline-flex'.

A flex container is defined by setting the position property of an element to 'flex' or 'inline-flex'.

A flex container is defined by setting the align-items property of an element to 'flex' or 'inline-flex'.

A flex container is defined by setting the display property of an element to 'flex' or 'inline-flex'.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the main properties used to control the flex container?

display, flex-wrap, justify-content, align-items, align-content, flex-flow

flex-direction, flex-wrap, justify-content, align-items

display, flex-direction, flex-wrap, justify-content, align-items, align-content

display, flex-direction, flex-wrap, align-content

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of the flex-direction property?

row

column-reverse

row-reverse

column

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you specify the order of flex items?

Using the 'flex-direction' property

Using the 'order' property

Using the 'align-items' property

Using the 'justify-content' property

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the flex-wrap property?

To control the spacing between flex items.

To change the order of flex items.

To align flex items vertically.

To control whether flex items are forced onto a single line or can be wrapped onto multiple lines.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you align flex items horizontally?

justify-content property

align-content property

flex-direction property

align-items property

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?