Practice by framework

60+ questions

CSS Questions

60+ CSS interview questions, including quiz-style knowledge questions and CSS coding questions.

Try these popular CSS questions

Digital ClockBuild a 7-segment digital clock that shows the current time
Available frameworks
Holy GrailBuild the famous holy grail layout consisting of a header, 3 columns, and a footer
Available frameworks
Coding Format
Number of questions
5 questions
Total time
2 hours total

Questions List

  • ClassnamesImplement a function that conditionally joins CSS class names together
    Difficulty
    Medium
    Languages
    CSSJSTS
    Users completed
    804 completed
  • jQuery.cssImplement a jQuery-like function that sets the style of a DOM element
    Difficulty
    Easy
    Languages
    HTMLCSSJSTS
    Users completed
    1042 completed
  • jQuery Class ManipulationImplement a set of jQuery-like functions that manipulates classes on a DOM element
    Difficulty
    Medium
    Languages
    HTMLCSSJSTS
    Users completed
    267 completed
  • getElementsByClassNameImplement a function to get all DOM elements that contain the specified classes
    Difficulty
    Medium
    Languages
    HTMLCSSJSTS
    Users completed
    337 completed
  • New
    Classnames IIImplement a function that conditionally joins CSS class names together and also handles de-duplication and function values
    Difficulty
    Hard
    Languages
    CSSJSTS