CSS Selector Battle

CSS Selector Battle

University

7 Qs

quiz-placeholder

Similar activities

Puppies/Dogs History

Puppies/Dogs History

KG - Professional Development

10 Qs

Odd One Out 001

Odd One Out 001

KG - Professional Development

10 Qs

Chinese Vocab

Chinese Vocab

KG - University

10 Qs

Adli Nöropsikoloji Trivia

Adli Nöropsikoloji Trivia

University

10 Qs

Star Wars Bölüm 7: Güç Uyanıyor

Star Wars Bölüm 7: Güç Uyanıyor

KG - University

10 Qs

Word Order, Suffix, Clauses of Result

Word Order, Suffix, Clauses of Result

4th Grade - University

10 Qs

Mollusks

Mollusks

10th Grade - University

10 Qs

Disney Princesses

Disney Princesses

KG - University

10 Qs

CSS Selector Battle

CSS Selector Battle

Assessment

Quiz

Fun

University

Practice Problem

Medium

Created by

Jessica Gilfillan

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

ROUND ONE : The h2 would be ...

purple

green

Answer explanation

main h2 is a more specific selector than h2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

ROUND TWO: The h2 would be

purple

green

Answer explanation

main h2 is a more specific selector.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

ROUND THREE: The odd items of both ol and ul lists would be ..

orange

red

Answer explanation

same level of specificity, position

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

ROUND FOUR: The p in the footer would have a _______ border

blue

red

Answer explanation

same level of specificity, position

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

ROUND FIVE: The background of the div would be

oraange

purple

Answer explanation

class selectors are more specific than combinators (specificity)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

ROUND SIX - If there were two h2 element selectors in each of these stylesheets, which stylesheets h2 styles would be applied?

the first stylesheet

the second stylesheet

Answer explanation

if both selectors are the same specificity, the style rules in the second stylesheet listed would be applied (position)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

BONUS ROUND: The border colour around the h2 with an ID of mainHeading will be

pink

orange

Answer explanation

!important overrides all previous styling rules and adds more importance to a property value than normal. Use sparingly and with caution!

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?