Selectors, properties and the cascade (beginner)
Comes up in: Recruiter screen
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
- linking CSS
- rules, selectors, declarations
- type/class/id/attribute selectors
- combinators
- specificity basics
- inheritance
- the cascade in one paragraph (depth in WEB.06)
Words you will know
What you will practise
- specificity quiz
- style a card
Interview questions this answers
- What is specificity? Which wins: an id selector or three class selectors?