HTML/CSS and JavaScript Online Test

TestDome skill assessments are used by more than 5,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

Ensure

3min
  -  
Easy 
  -  
CODE

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.

Avatar

7min
  -  
Easy 
  -  
CODE

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

7min
  -  
Easy 
  -  
CODE

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.

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