PHASE 2

PHASE 2

University

15 Qs

quiz-placeholder

Similar activities

CSS Quiz

CSS Quiz

University

20 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

OO Programming OCR A level

OO Programming OCR A level

10th Grade - University

20 Qs

Debriefing B3

Debriefing B3

University

18 Qs

Visual Basic Quiz

Visual Basic Quiz

University

10 Qs

Bootstrap Website

Bootstrap Website

University

20 Qs

FEWD Review

FEWD Review

University

12 Qs

Level 3 B

Level 3 B

University

15 Qs

PHASE 2

PHASE 2

Assessment

Quiz

Computers

University

Hard

Created by

Ayanda Nkwanyana

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What happens if the .container class is removed from the HTML?

The .box element will disappear.

The .box element will stay in the center of the page.

The .box element will move to the top-left corner of the page.

The layout will break, and the .box element will be misaligned.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will happen if the .item class has a flex-grow: 1; property added?

All items will have equal width and fill the container space.

Item 1 will expand to fill the remaining space.

Item 3 will expand to fill the remaining space.

Items will remain unchanged in width.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will happen if the .child class has a position: absolute; property added?

The child element will move outside the parent container.

The child element will be positioned relative to its parent.

The child element will be positioned at the center of the section.

The child element will be hidden from view.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the total width of the .box element, including the content, padding, border, and margin?

220px

260px

244px

280px

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the color of 'Item 2' in the list?

Blue

Red

Black

Green

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which box will be displayed on top?

.box1

.box2

Both will overlap

None, because of the same z-index value

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

What effect will the above media query have on the .container class?

It will change the container's background color.

It will change the container's flex-direction to row.

It will change the container's flex-direction to column when the screen width is 600px or less.

It will hide the container when the screen width exceeds 600px.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?