Session5

Session5

University

20 Qs

quiz-placeholder

Similar activities

Semiconductors and Diode Theory

Semiconductors and Diode Theory

University

20 Qs

C classroom activity 8.4.25

C classroom activity 8.4.25

University

20 Qs

Understanding Schematic and Logic Diagrams

Understanding Schematic and Logic Diagrams

University

20 Qs

Bioenergy

Bioenergy

University

15 Qs

Engineering Design Experience Quiz

Engineering Design Experience Quiz

8th Grade - University

15 Qs

Quiz Counter, FSM 2024

Quiz Counter, FSM 2024

University

15 Qs

unit1 MCQ

unit1 MCQ

University

15 Qs

Quiz Round For Group 1

Quiz Round For Group 1

University

20 Qs

Session5

Session5

Assessment

Quiz

Engineering

University

Practice Problem

Hard

Created by

Nada Asraf

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about the position: sticky property?

A. It requires a z-index to work properly.

It toggles between relative and fixed based on the scroll position.

It only works inside a flex container.

It behaves the same as absolute but with offset restrictions.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If two elements have the same z-index value and are siblings, what determines which one appears on top?

A. Their position in the DOM hierarchy.

Their width and height.

Their display property.

Their overflow property.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when overflow: scroll is set on an element?

Content is clipped and cannot be accessed.

Scrollbars are visible only when content overflows.

Content is always visible with a scroll bar, even when it doesn't overflow.

Scrollbars are always hidden.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property combination is most suitable for centering an element both horizontally and vertically inside a parent container?

display: inline-block; margin: auto;

text-align: center; line-height: 50%;

. float: center; margin: auto;

position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is commonly used to make a navigation bar fixed at the top of the page?


position: fixed;

position: sticky;

position: relative;

position: absolute;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS layout system uses grid-template-rows and grid-template-columns properties?


Box Model

Flexbox

CSS Grid

Float Layout

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following values is NOT valid for the position property?

static

relative

inherit

float

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?