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
70+ questions
JavaScript
HTML
CSS
React
Angular
Vue
Svelte
CSS Questions
70+ 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
6 questions
Total time
3 hours total
Questions List
Classnames
Implement a function that conditionally joins CSS class names together
Difficulty
Medium
Languages
CSS
JS
TS
Users completed
2322 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
2355 completed
New
getElementsByStyle
Implement a function to get all DOM elements that are rendered using the specified style
Difficulty
Medium
Languages
HTML
CSS
JS
TS
Users completed
80 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
583 completed
getElementsByClassName
Implement a function to get all DOM elements that contain the specified classes
Difficulty
Medium
Languages
HTML
CSS
JS
TS
Users completed
799 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
133 completed