Code.org: Unit 2: Lesson 18 - CSS Pseudo-classes

Code.org: Unit 2: Lesson 18 - CSS Pseudo-classes

8th Grade

9 Qs

quiz-placeholder

Similar activities

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Microsoft Excel Advanced Features

Microsoft Excel Advanced Features

1st Grade - University

14 Qs

Name This App-LSM-MRM

Name This App-LSM-MRM

4th Grade - University

10 Qs

mouse

mouse

1st - 8th Grade

10 Qs

Tecnología e Informática - Evaluación general Tercer Período - 8

Tecnología e Informática - Evaluación general Tercer Período - 8

6th - 8th Grade

10 Qs

Graphics Programming Review

Graphics Programming Review

8th - 10th Grade

10 Qs

Ofimática Básica

Ofimática Básica

5th - 9th Grade

11 Qs

Quiz HTML

Quiz HTML

1st - 10th Grade

10 Qs

Code.org: Unit 2: Lesson 18 - CSS Pseudo-classes

Code.org: Unit 2: Lesson 18 - CSS Pseudo-classes

Assessment

Quiz

Computers

8th Grade

Easy

Created by

Patrick Trejo

Used 1+ times

FREE Resource

9 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is a CSS pseudo-class, and how does it change the way an element looks or behaves on a web page?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What is a CSS pseudo-class, and how does it change the way an element looks or behaves on a web page?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What is a CSS pseudo-class, and how does it change the way an element looks or behaves on a web page?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

How might you use pseudo-classes in your group's project to enhance the aesthetics and functionality of your website?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

10 sec • 20 pts

Did you enjoy your HTML, CSS, JS, PHP classes?

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?

<img >

tag="img" { height: 200px; }

<img> { height: 200px; }

img { height: 200px; }

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid CSS rule?

h1 { color: blue; }

css="color:blue;"

h1 { color { blue; } }

style:"color=blue;"

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following code snippets will select all HTML elements with the class “alert” and set their color to be red?

alert {color: red;}

.alert {color: red;}

#alert {color: red;}

class="alert" {color: red;}

9.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does a class do?

adds color to words

adds style to specific elements

adds style to a whole page

adds a lot more work