CSS Quiz 1

CSS Quiz 1

Professional Development

15 Qs

quiz-placeholder

Similar activities

POST TEST WEB STATIC

POST TEST WEB STATIC

University - Professional Development

20 Qs

3.1-basic-CSS-review

3.1-basic-CSS-review

7th Grade - Professional Development

10 Qs

JQuery

JQuery

Professional Development

10 Qs

CSS Selectors

CSS Selectors

Professional Development

10 Qs

HTML & CSS

HTML & CSS

6th Grade - Professional Development

16 Qs

05 HTML/CSS Vertiefung

05 HTML/CSS Vertiefung

Professional Development

10 Qs

CSS Quiz 2

CSS Quiz 2

University - Professional Development

10 Qs

SASS, CSS Animation, RWD

SASS, CSS Animation, RWD

Professional Development

10 Qs

CSS Quiz 1

CSS Quiz 1

Assessment

Quiz

Computers

Professional Development

Medium

DOK Level 2: Skill/Concept, DOK Level 3: Strategic Thinking

Standards-aligned

Created by

Max Rolseth

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following properties is used to set the space between the content and the border of an element in the CSS Box Model?

margin

padding

border

width

Tags

DOK Level 2: Skill/Concept

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a Flexbox layout, which property is used to define the alignment along the main axis?

align-items

justify-content

flex-direction

flex-wrap

Tags

DOK Level 2: Skill/Concept

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to change the text color of an element?

font-color

text-color

color

text-style

Tags

DOK Level 2: Skill/Concept

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct CSS selector for selecting all <p>

elements inside a <div> element?

div p

div > p

div + p

div ~ p

Tags

DOK Level 2: Skill/Concept

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `@media` rule in CSS?

To apply styles to different media types/devices

To import external CSS files

To define keyframe animations

To create CSS variables

Tags

DOK Level 2: Skill/Concept

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following CSS code, what will be the background color of the <div> element?

```div { background-color: red; } div:hover { background-color: blue; } ```

Red

Blue

Red when hovered, Blue otherwise

Blue when hovered, Red otherwise

Tags

DOK Level 3: Strategic Thinking

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you create a responsive layout that changes from a single column to a two-column layout when the screen width is 600px or more?

Use `@media` rule with `flexbox`

Use `@media` rule with `grid`

Use `@media` rule with `float`

Use `@media` rule with `position`

Tags

DOK Level 3: Strategic Thinking

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?