Search Header Logo

PHASE 2

Authored by Ayanda Nkwanyana

Computers

University

Used 1+ times

PHASE 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

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?