This HTML/CSS, React, Node.js, and MongoDB Online Test Separates Good From Bad Hires

Check our public questions below

Solve questions to get feedback or
take a practice test and get a free certificate.

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, React, Node.js, and MongoDB online test assesses the candidate's ability to develop applications using both front-end skills (React and HTML/CSS) and back-end skills (Node.js and MongoDB).

It's an ideal test for pre-employment screening. A good full-stack Node.js developer, who is using React for the front-end, and MongoDB as database engine, must be able to solve problems using Node.js and also to combine React and HTML/CSS to create dynamic and interactive user interfaces. Moreover, they must know how to write and analyze MongoDB queries, which are used to communicate with the database.

This online test requires candidates to solve common HTML/CSS challenges, React and Node.js coding problems, and to answer multiple-choice questions about MongoDB.

Sample public questions

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

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

Easy
3 min
mca
Public
MongoDB
Database Schema

You work for a mail delivery company and the tracker system uses MongoDB with the following document schema for the "Packages" collection:

{
  "_id": { "bsonType": "objectId" },
  "destination": { "type": "string" },
  "state": { "enum": ["preparing", "in transit", "delivered"] }
}

Select all the correct statements about the Packages collection.

Easy
3 min
mca
Public
Node.js
NPM

Consider the following package.json for a Node.js application:

{
  "name": "skill-measure-app",
  "private": true,
  "version": "1.0.0",
  "main": "lib/main.js",
  "scripts": {
    "build": "npm run cleanup & npm run test & npm run publish",
    "cleanup": "rm -fr ./lib",
    "test": "jest",
    "publish": "npm publish lib"
  },
  "dependencies": {
     "jest": "^23.0.1",
     "custom-package": "file:../custom-package"
  }
}

Select all the correct statements.

Easy
7 min
code
Public
React
Effect Hook
React Hooks
Reference Hook

Finish the FocusableInput component so that the input element automatically receives focus on the first render if the shouldFocus prop is true.

The component should use React Hooks.

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the HTML/CSS, React, Node.js, and MongoDB test with public questions.

Take a Certification Test

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

73 more premium HTML/CSS, React, Node.js, and MongoDB questions

Links, Fahrenheit Converter, Shopping Cart, Ad, Article Style, Baby Names, Cities, Editor, Format Table, Keywords, Label Color, Loading, Logo, Shirts, Upload, Warehouse, Widgets, Weather Data, iframe, Toggle Options Visibility, Cards Widget, Error Catcher, File Exists, Retry Request, Run Sequentially, Product Rating, Stream Transform, Link, Package Declaration, Add Id, Hash Bug, Game Action, Arrange Promises, Click Button, Email Input, List Wrapper, Subscription, Login Form, Product Search, Addition, Async Paragraph, Bookmark, Screen Reader, Game Offer, Bicycle Report, Curious Leaf, Gaming Console, Travel Blog, Blog, Christmas Tree, Timesheet, Email Tables, Shopping List, Data Entry, Price List, Ice Cream Flavors, TestDome Logo, Fish Movement Patterns, Tutoring Platform, Helping a Colleague, Charging Stations, Pet Form, Tooltip Component, Simple Calculator, Tab Strip, Theme Context Switcher, Player Status, Reorder, Share Button, Contact Form, Email Form, Post Comment, Details.

Skills and topics tested

  • HTML/CSS
  • CSS Selectors
  • Styling
  • Node.js
  • Modules
  • Events
  • Element Spacing
  • Flexbox
  • Positioning
  • Fonts
  • Elements and Attributes
  • HTML5
  • Language
  • Animation
  • Forms
  • Asynchronous Programming
  • Hyperlink
  • IFrame
  • React
  • Data Binding
  • Components
  • Managing State
  • React Hooks
  • Error Boundaries
  • Async-Await
  • Promise
  • Event Handling
  • JSON
  • Stream
  • NPM
  • Event Loop
  • Bug Fixing
  • Event Emitter
  • Exceptions
  • Higher Order Components
  • Conditional Rendering
  • State Hook
  • Hooks
  • Effect Hook
  • CSS Advanced
  • Element Size
  • Asynchronous Calls
  • Bookmarks
  • Accessibility
  • CSS Basics
  • Tables
  • Responsive Design
  • UI
  • Semantic Tags
  • Borders
  • Inline Styles
  • Selectors
  • CSS Layout
  • MongoDB
  • Data Storage
  • NoSQL
  • Sharding
  • Queries
  • Update
  • Indexes
  • Performance Tuning
  • Portals
  • Reducer Hook
  • Context
  • Content Manipulation

For job roles

  • Full-Stack Developer
  • JavaScript Developer
  • MongoDB Developer
  • Node.js Developer
  • React Developer
  • Web 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, React, Node.js, and MongoDB Programming Tests: