PHASE 2

PHASE 2

University

15 Qs

quiz-placeholder

Similar activities

HTML_CSS

HTML_CSS

University

16 Qs

Bootsrap

Bootsrap

University

15 Qs

Review for Bootstrap Test

Review for Bootstrap Test

9th Grade - University

13 Qs

SPRING INTRODUCTION

SPRING INTRODUCTION

University

10 Qs

DS - Linked List - S1

DS - Linked List - S1

University

16 Qs

html, css quiz

html, css quiz

6th Grade - Professional Development

10 Qs

DSA - Intro

DSA - Intro

University

10 Qs

Web Development

Web Development

7th Grade - University

20 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?