HTML/CSS, JavaScript, and React 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/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 New

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, Table of Names, Word Count, Cards, New Folder, Log Patch, Loading Bar, Array Search, Tab Strip, Contact Form, Email Form, Background Wrapper, Reorder, Player Status, Simple Calculator, Theme Context Switcher, Toggle Options Visibility, Shopping List, 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, Tooltip Component, 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
JavaScript Arrays Closures HTML/CSS CSS selectors Styling Exceptions DOM manipulation Event handling Language Strings Monkey patching HTML5 Recursion React Components Conditional rendering VDOM Effect Hook State Hook Hooks Reducer Hook Context Data binding Managing state 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 Portals Responsive design Hyperlink IFrame Animation Serialization XML Content manipulation JSON Sorting Accessibility Callback CSS layout Tables
Score Distribution
Pricing For Premium Questions