HTML/CSS, JavaScript, and React 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/CSSJavaScript, and React online test assesses candidates' knowledge of HTML, CSS , JavaScript, and React as well as their ability to combine those technologies and take advantage of commonly used parts of Bootstrap.

It's an ideal test for pre-employment screening. A good front-end developer should be able to combine HTML, CSS, JavaScript, and React to create a dynamic and interactive user interface.

This online test requires candidates to solve common HTML/CSS, JavaScript, and React coding problems.

Recommended Job Roles
JavaScript Developer
React 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



React Components Public

The TextInput component renders an input element in the DOM and accepts a ref that is forwarded to that input element. Finish the FocusableInput component:

  • The component should accept a focused prop.
  • When the focused prop is changed from false to true, and the input is not focused, it should receive the focus.
  • If on mounting the focused prop is true, the input should receive the focus.
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, Tab Strip, Contact Form, Email Form, Background Wrapper, 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, Tooltip Component, Ice Cream Flavors, Error Catcher, Details, List Wrapper, Product Rating, Breakfast Menu, Array Search, iframe, TestDome Logo, Post Comment, Shopping List, Cards, Reorder, Validation, Table of Names, Blog, Screen Reader, Post Comment, Theme Context Switcher, Player Status, Simple Calculator, Data Entry, Reorder, Toggle Options Visibility, Cards Widget
JavaScript Arrays Closures HTML/CSS CSS selectors Styling Exceptions DOM manipulation Event handling Language Strings Monkey patching HTML5 React Components Conditional rendering VDOM 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 Portals Responsive design Error boundaries Higher order components Selectors Recursion IFrame CSS layout Managing state Semantic tags Accessibility React Hooks Context Effect Hook State Hook Reducer Hook Data binding
Score Distribution
# of candidates
Pricing For Premium Questions