Interview practice question
A CSS rule isn't being applied
Frontend Engineering · HTML and CSS · Beginner
You wrote a CSS rule, but it doesn't seem to apply. How do you debug it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Inspect element in devtools.
- Check if rule matches (selector typo).
- Overridden by higher specificity/later rule.
- Invalid property/value.
- Stylesheet loaded? caching.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.