Enjoy 20% off all plans by
following us on social media
. Check out other
promotions
!
Dismiss
Interviews
Dashboard
Practice questions
Guides
Pricing
Sign in / up
Get full access
Practice by framework
60+ questions
JavaScript
HTML
CSS
React
Angular
Svelte
CSS Questions
60+ CSS interview questions, including quiz-style knowledge questions and CSS coding questions.
Try these popular CSS questions
Digital Clock
Build a 7-segment digital clock that shows the current time
Available frameworks
Holy Grail
Build the famous holy grail layout consisting of a header, 3 columns, and a footer
Available frameworks
Like Button
Build a Like button that changes appearance based on the states
Available frameworks
Coding
Quiz
Coding Format
User Interface
JavaScript Utilities
Search coding questions
Sort by
Number of questions
5 questions
Total time
2 hours total
Questions List
Classnames
Implement a function that conditionally joins CSS class names together
Difficulty
Medium
Languages
CSS
JS
TS
Users completed
1899 completed
jQuery.css
Implement a jQuery-like function that sets the style of a DOM element
Difficulty
Easy
Languages
HTML
CSS
JS
TS
Users completed
2021 completed
jQuery Class Manipulation
Implement a set of jQuery-like functions that manipulates classes on a DOM element
Difficulty
Medium
Languages
HTML
CSS
JS
TS
Users completed
504 completed
getElementsByClassName
Implement a function to get all DOM elements that contain the specified classes
Difficulty
Medium
Languages
HTML
CSS
JS
TS
Users completed
661 completed
Classnames II
Implement a function that conditionally joins CSS class names together and also handles de-duplication and function values
Difficulty
Hard
Languages
CSS
JS
TS
Users completed
98 completed