This HTML/CSS and JavaScript Online Test
Separates Good From Bad Hires

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The HTML/CSS and JavaScript online test assesses candidates' knowledge of HTML, CSS, and JavaScript as well as their ability to utilize JavaScript to manipulate Document Object Model built from HTML and CSS.

It's an ideal test for pre-employment screening. A good front-end developer should be able to utilize all these technologies to create a modern, dynamic, and interactive user interface.

This online test requires candidates to solve common HTML/CSS challenges as well as JavaScript coding problems.

Sample public questions

Every user on your website has an image avatar that is displayed when they post a comment. You want to style these images differently from other images on your site. Add a CSS class named avatar that fulfils the following requirements:

  1. The avatar's border is rounded, so that it appears as a circle.
  2. The avatar's width and height are both 150px.
  3. The avatar has a solid border, has a width of 2px, and be colored gray.

For example, the avatar in the template should look like:

Cat avatar

HTML/CSS
Borders
Element Size
Styling
Easy
7 min
code
Public

Implement the ensure function so that it throws an error if called without arguments or the argument is undefined. Otherwise it should return the given value.

JavaScript
Error Handling
Language
Easy
3 min
code
Public

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the HTML/CSS and JavaScript test with public questions.

Take a Certification Test

Sample silver certificate

Kera Lafleur

Java and SQL

TestDome
Certificate

TestDome logo on certificate

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

77 more premium HTML/CSS and JavaScript questions

  Positive Numbers,   Links,   Truthy Expressions,   Ad,   Article Style,   Baby Names,   Cities,   Editor,   Format Table,   Keywords,   Label Color,   Loading,   Logo,   Shirts,   Upload,   Warehouse,   Widgets,   iframe,   Max Sum,   Launch Time,   Function Wrapper,   Link,   Log Parser,   Unique Numbers,   Load URL,   Photon Frequency,   Addition,   Trading Data Paging,   Color Codes,   Tax Calculator,   Bookmark,   Screen Reader,   Game Offer,   Bicycle Report,   Curious Leaf,   Gaming Console,   Travel Blog,   Confirm,   Blog,   Friend,   Christmas Tree,   Timesheet,   Email Tables,   Data Entry,   Price List,   Ice Cream Flavors,   Memory Game,   TestDome Logo,   New Folder,   Post Comment,   Row Appender,   Vectors,   Segment,   Special Actions,   Height,   Product Rating,   Validation,   Cards,   Array Search,   Screen,   Timer,   Username,   Snapshot,   Scale Font Size,   Products,   Paragraph,   Hide Button,   A Tag,   Hobbies,   Loading Bar,   Log Patch,   Double,   Table of Names,   Filter,   Reorder,   Share Button,   Date Transform.

Skills and topics tested

  • JavaScript
  • Closures
  • HTML/CSS
  • CSS Selectors
  • Styling
  • Language
  • Element Spacing
  • Flexbox
  • Positioning
  • Fonts
  • Elements and Attributes
  • HTML5
  • Animation
  • Forms
  • Hyperlink
  • IFrame
  • Algorithmic Thinking
  • Timing Events
  • Exceptions
  • Serialization
  • XML
  • Dictionary
  • Ajax
  • HTTP
  • Promise
  • Arrays
  • CSS Advanced
  • Element Size
  • JSON
  • Pagination
  • Sorting
  • Associative Arrays
  • Classes
  • Objects
  • Bookmarks
  • Accessibility
  • CSS Basics
  • Tables
  • Responsive Design
  • UI
  • Dialog Box
  • Event Handling
  • Semantic Tags
  • Graphs
  • Borders
  • Inline Styles
  • Selectors
  • Strings
  • CSS Layout
  • Content Manipulation
  • DOM Manipulation
  • Arithmetic
  • Iteration
  • Attribute Manipulation
  • Recursion
  • Bug Fixing
  • ECMAScript 2015
  • Asynchronous Calls
  • Callback
  • Regex
  • Monkey Patching

For job roles

  • JavaScript Developer
  • UI/UX Developer
  • Web Front-End Developer

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1
Choose a pre-made test or create a custom test.
2
Invite candidates via email, URL or your ATS
3
Candidates take a test remotely
4
Sort candidates and get individual reports

Want to know more?

Not exactly what you're looking for?

Related HTML/CSS and JavaScript Programming Tests: