HTML/CSS and JavaScript Online Test

TestDome skill assessments are used by more than 6,000 companies and 450,000 individual test takers.

Jobseekers: Get a Certificate

Take a Practice Test

Companies: Try First, Pay Later

Sign Up To Use This 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.

Recommended Job Roles
JavaScript Developer
UI/UX Developer
Web Front-End Developer
Sample Candidate Report

Sample Free Questions



JavaScript Error handling Language 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.



HTML/CSS Borders Element size Styling Public

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

Remove Property


JavaScript Language Objects Public

Implement the removeProperty function which takes an object and property name, and does the following:

If the object obj has a property prop, the function removes the property from the object and returns true; in all other cases it returns false.

Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Filter, Positive Numbers, Links, Function Wrapper, Double, Truthy Expressions, Word Count, New Folder, Log Patch, Loading Bar, Segment, Hobbies, A Tag, Ad, Addition, Article Style, Baby Names, Bookmark, Christmas Tree, Cities, Confirm, Date Transform, Editor, Format Table, Height, Hide Button, Keywords, Label Color, Link, Loading, Log Parser, Logo, Paragraph, Product Rating, Products, Row Appender, Scale Font Size, Share Button, Shirts, Snapshot, Timesheet, Upload, Username, Vectors, Warehouse, Widgets, Timer, Screen, Email Tables, Ice Cream Flavors, Breakfast Menu, Array Search, iframe, TestDome Logo, Post Comment, Cards, Reorder, Validation, Table of Names, Blog, Screen Reader, Data Entry
JavaScript Arrays Closures HTML/CSS CSS selectors Styling Exceptions DOM manipulation Event handling Language Strings Monkey patching HTML5 Arithmetic Iteration Attribute manipulation Element spacing CSS advanced Element size Flexbox Positioning Bookmarks Elements and attributes Fonts Dialog box Regex Objects Asynchronous calls Hyperlink Animation Serialization XML JSON Sorting Content manipulation Forms Tables Callback Bug fixing Classes ECMAScript 2015 Borders Inline styles Responsive design Selectors Recursion IFrame CSS layout Semantic tags Accessibility
Score Distribution
# of candidates
Pricing For Premium Questions