Summer sale! Get 10% off annual plan with the code SUMMERSALE23, grab your discount today! Check out other promotions

Practice by framework

50+ questions

HTML Questions

50+ HTML interview questions, including quiz-style knowledge questions and HTML coding questions.

Try these popular HTML questions

Contact FormBuild a contact form which submits user feedback and contact details to a back end API
Available frameworks
Digital ClockBuild a 7-segment digital clock that shows the current time
Available frameworks
Coding Format
Number of questions
46 questions
Total time
18 hours total

Questions List

  • CounterWarm Up QuestionBuild a simple counter that increments whenever a button is clicked
    Difficulty
    Easy
    Available frameworks
    Users completed
    6382 completed
  • Contact FormBuild a contact form which submits user feedback and contact details to a back end API
    Difficulty
    Easy
    Available frameworks
    Users completed
    3615 completed
  • Holy GrailBuild the famous holy grail layout consisting of a header, 3 columns, and a footer
    Difficulty
    Easy
    Available frameworks
    Users completed
    2893 completed
  • Mortgage CalculatorBuild a calculator that computes the monthly mortgage for a loan
    Difficulty
    Easy
    Available frameworks
    Users completed
    494 completed
  • TabsBuild a tabs component that displays a list of tab elements and one associated panel of content at a time
    Difficulty
    Medium
    Available frameworks
    Users completed
    875 completed
  • Todo ListBuild a Todo list that lets users add new tasks and delete existing tasks
    Difficulty
    Medium
    Available frameworks
    Users completed
    1658 completed
  • Traffic LightBuild a traffic light where the lights switch from green to yellow to red after predetermined intervals and loop indefinitely
    Difficulty
    Medium
    Available frameworks
    Users completed
    480 completed
  • Digital ClockBuild a 7-segment digital clock that shows the current time
    Difficulty
    Medium
    Available frameworks
    Users completed
    305 completed
  • Job BoardBuild a job board that displays the latest job postings from Hacker News
    Difficulty
    Medium
    Available frameworks
    Users completed
    272 completed
  • AccordionBuild an accordion component that a displays a list of vertically stacked sections with each containing a title and content snippet
    Difficulty
    Easy
    Available frameworks
    Users completed
    855 completed
  • Flight BookerBuild a component that books a flight for specified dates
    Difficulty
    Easy
    Available frameworks
    Users completed
    373 completed
  • Generate TableGenerate a table of numbers given the rows and columns
    Difficulty
    Easy
    Available frameworks
    Users completed
    449 completed
  • jQuery.cssImplement a jQuery-like function that sets the style of a DOM element
    Difficulty
    Easy
    Languages
    HTMLCSSJSTS
    Users completed
    779 completed
  • Progress BarBuild a progress bar component that shows the percentage completion of an operation
    Difficulty
    Easy
    Available frameworks
    Users completed
    803 completed
  • Progress BarsBuild a list of progress bars that fill up gradually when they are added to the page
    Difficulty
    Easy
    Available frameworks
    Users completed
    418 completed
  • Temperature ConverterBuild a temperature converter widget that converts temperature values between Celsius and Fahrenheit
    Difficulty
    Easy
    Available frameworks
    Users completed
    675 completed
  • TweetBuild a component that resembles a Tweet from Twitter
    Difficulty
    Easy
    Available frameworks
    Users completed
    379 completed
  • Accordion IIBuild an accessible accordion component that has the right ARIA roles, states, and properties
    Difficulty
    Medium
    Available frameworks
    Users completed
    178 completed
  • Accordion IIIBuild a fully accessible accordion component that has keyboard support according to ARIA specifications
    Difficulty
    Medium
    Available frameworks
    Users completed
    87 completed
  • Analog ClockBuild an analog clock where the hands update and move like a real clock
    Difficulty
    Medium
    Available frameworks
    Users completed
    139 completed
  • getElementsByTagNameImplement a function to get all DOM elements that match a tag
    Difficulty
    Medium
    Languages
    HTMLJSTS
    Users completed
    522 completed
  • Grid LightsBuild a grid of lights where the lights deactivate in the reverse order they were activated
    Difficulty
    Medium
    Available frameworks
    Users completed
    203 completed
  • HTML SerializerImplement a function to serialize an object into an HTML string with indentation
    Difficulty
    Medium
    Languages
    HTMLJSTS
    Users completed
    142 completed
  • Identical DOM TreesImplement a function to determine if two DOM trees are the same
    Difficulty
    Medium
    Languages
    HTMLJSTS
    Users completed
    281 completed
  • jQuery Class ManipulationImplement a set of jQuery-like functions that manipulates classes on a DOM element
    Difficulty
    Medium
    Languages
    HTMLCSSJSTS
    Users completed
    207 completed
  • Like ButtonBuild a Like button that changes appearance based on the states
    Difficulty
    Medium
    Available frameworks
    Users completed
    254 completed
  • Progress Bars IIBuild a list of progress bars that fill up gradually in sequence, one at a time
    Difficulty
    Medium
    Available frameworks
    Users completed
    133 completed
  • Star RatingBuild a star rating component that shows a row of star icons for users to select the number of filled stars corresponding to the rating
    Difficulty
    Medium
    Available frameworks
    Users completed
    567 completed
  • Tabs IIBuild a semi-accessible tabs component that has the right ARIA roles, states, and properties
    Difficulty
    Medium
    Available frameworks
    Users completed
    92 completed
  • Tabs IIIBuild a fully accessible tabs component that has keyboard support according to ARIA specifications
    Difficulty
    Medium
    Available frameworks
    Users completed
    56 completed
  • Text SearchImplement a function to highlight text if a searched term appears within it
    Difficulty
    Medium
    Languages
    HTMLJSTS
    Users completed
    296 completed
  • getElementsByClassNameImplement a function to get all DOM elements that contain the specified classes
    Difficulty
    Medium
    Languages
    HTMLCSSJSTS
    Users completed
    261 completed
  • Progress Bars IIIBuild a list of progress bars that fill up gradually concurrently, up to a limit of 3
    Difficulty
    Medium
    Available frameworks
    Users completed
    83 completed
  • Text Search IIImplement a function to highlight text if searched terms appear within it
    Difficulty
    Medium
    Languages
    HTMLJSTS
    Users completed
    87 completed
  • Tic-tac-toeBuild a tic-tac-toe game that is playable by two players
    Difficulty
    Medium
    Available frameworks
    Users completed
    106 completed
  • Signup FormBuild a signup form that does validation on user details and submits to a back end API
    Difficulty
    Medium
    Available frameworks
    Users completed
    218 completed
  • StopwatchBuild a stopwatch widget that can measure how much time has passed
    Difficulty
    Medium
    Available frameworks
    Users completed
    111 completed
  • Transfer ListBuild a component that allows transferring of items between two lists
    Difficulty
    Medium
    Available frameworks
    Users completed
    102 completed
  • Undoable CounterBuild a counter with a history of the values and ability to undo/redo actions
    Difficulty
    Medium
    Available frameworks
    Users completed
    90 completed
  • Whack-A-MoleBuild a popular arcade game where players attempt to hit moles as they pop up from holes in a board
    Difficulty
    Medium
    Available frameworks
    Users completed
    34 completed
  • Memory GameBuild a memory game where the player needs to match pairs of cards
    Difficulty
    Medium
    Available frameworks
    Users completed
    38 completed
  • Progress Bars IVBuild a list of progress bars that fill up gradually concurrently, up to a limit of 3 and allows for pausing and resuming
    Difficulty
    Hard
    Available frameworks
    Users completed
    50 completed
  • Table of ContentsImplement a function to construct a table of contents from an HTML document
    Difficulty
    Hard
    Languages
    HTMLJSTS
    Users completed
    82 completed
  • Tic-tac-toe IIBuild an N x N tic-tac-toe game that requires M consecutive marks to win
    Difficulty
    Hard
    Available frameworks
    Users completed
    29 completed
  • Transfer List IIBuild a component that allows transferring of items between two lists, bulk selection/unselection of items, and adding of new items
    Difficulty
    Hard
    Available frameworks
    Users completed
    28 completed
  • WordleBuild Wordle, the word-guessing game that took the world by storm
    Difficulty
    Hard
    Available frameworks
    Users completed
    18 completed