Search test library by skills or roles
⌘ K

GatsbyJS Test

The GatsbyJS Test evaluates a candidate's knowledge and skills in using GatsbyJS to building blazing websites and apps with React and GraphQL. It assesses proficiency in working with JavaScript, HTML, and CSS, as well as expertise in front-end development, and performance optimization.

Covered skills:

  • Routing and Styling in GatsbyJS
  • Sourcing and Querying Data in GatsbyJS
  • Performance and Scaling
  • React Fundamentals
  • JavaScript ES6 Basics
  • HTML/ CSS Basics
  • Responsive Design
  • Performance Optimization
  • Static Site Generation
  • JavaScript Coding
Get started for free
Preview questions

About the GatsbyJS Assessment Test


The GatsbyJS Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

The test screens for the following skills that hiring managers look for in candidates:

  • Creating and managing routes in GatsbyJS
  • Applying styles and CSS modules in GatsbyJS
  • Using GraphQL to query data in GatsbyJS
  • Optimizing performance and scalability in GatsbyJS
  • Understanding core concepts and components of React
  • Working with ES6 syntax and features in JavaScript
  • Applying HTML and CSS basics
  • Implementing responsive design principles
  • Optimizing performance in web applications
  • Generating static sites in GatsbyJS
  • Demonstrating JavaScript coding skills

1200+ customers in 80 countries


Use Adaface tests trusted by recruitment teams globally. Adaface skill assessments measure on-the-job skills of candidates, providing employers with an accurate tool for screening potential hires.

customers in 75 countries
Get started for free
Preview questions

Non-googleable questions


We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

How we design questions

These are just a small sample from our library of 15,000+ questions. The actual questions on this GatsbyJS Test will be non-googleable.

🧐 Question

Medium

Async Await Promises
Promises
Async-Await
Asynchronous Programming
Solve
What will the following code output?
 image
A: 24 after 5 seconds and after another 5 seconds, another 24
B: 24 followed by another 24 immediately
C: 24 immediately and another 24 after 5 seconds
D: After 5 seconds, 24 and 24
E: Undefined
F: NaN
G: None of these

Medium

Bitcoin prices
Axios
Promises
Solve
Review the following JavaScript code and pick the correct options: 
 image
Assume that the API returns a successful 200 response code and a JSON object as the response body. What would the value of ‘a’ be after the code is executed?

Medium

My Module
Scope
Javascript Es6
Closure
Solve
What will the output of the following JavaScript code be?
 image
 image

Medium

Promise Resolve
Promises
Async-Await
Code Analysis
Syntax Understanding
Solve
What does the following code output? 
 image

Easy

Throw, Try, Async
Promises
Async-Await
Async/await
Solve
What does the following JS code output?
 image

Hard

Context re-renders
React Context API
Conditional Rendering
Component Lifecycle State
Solve
Review the following React code:
 image
Pick the correct statements:

A: The code renders 10 INDIAN RUPEE
B: The code renders 10 SINGAPORE DOLLAR
C: The code does not render anything and throws an error since JavaScript objects are not valid as React children
D: When the currency portion is clicked, the parent component is re-rendered
E: When the currency portion is clicked, parent component will skip the re-render because shouldComponentUpdate returns false
F: Parent component can be converted to a functional component with memoization (useMemo or memo) to avoid the re-render

Medium

Hooks with Conditional Rendering
Hooks
Conditional Rendering
Event Handling
Solve
Consider a React functional component that utilizes various hooks and conditional rendering. The component is designed to fetch and display a list of items from an API, with the ability to filter the list based on user input. Here's the pseudo-code structure:
 image
In this component, which of the following is a potential issue or inefficiency?
A: The component will re-render excessively due to the `setFilter` call.
B: The `useEffect` hook will run on every render, causing performance issues.
C: The `fetchItems` function may cause a memory leak if the component unmounts during the fetch.
D: The `useMemo` hook for `filteredItems` is unnecessary and can be removed without impact.
E: The component will fail to display items when the filter is cleared.
F: There are no significant issues; the component is implemented optimally.

Medium

Rhyme Reducer
Reducer functions
Immutable update patterns
Lazy initialization
Solve
Which of the following React code snippets
- triggers the reducer ‘rhymeReducer’ to update the ‘song’ value to ‘Jack and Jill’
- renders the updated ‘song’ value
- does not produce any errors/warnings
 image
 image

Hard

State Handling with Custom Hooks
Custom Hooks
Context API
Event Handling
Solve
Consider a React application where a custom hook `useComplexState` is defined to manage a complex state object. The application also uses the Context API to pass down the state and dispatch function. Below is the pseudo-code for the custom hook and a component using it:
 image
Given this setup, which of the following statements best describes the potential issue or challenge with `MyComponent`?
A: The component will not re-render when the global state changes.
B: The `fetchData` function will cause an infinite loop of re-renders.
C: The component will lose its state when the global state updates.
D: There will be a memory leak due to improper cleanup in `useEffect`.
E: The `dispatch` function from `useComplexState` will conflict with the global dispatch.
F: There is no issue; the component is implemented correctly.

Easy

Background Properties
Css
Solve
Consider the following shorthand CSS example:

background: #f7f7f7 url(jolie.jpg) no-repeat scroll 0px 0px;

Which of the following show the individual background properties represented by the shorthand:
 image

Easy

Colorful sentences
Html/css Color Styling
Solve
Our intern is writing a colorful blog post, and has written the following code. What colors will the sentences be?
 image
A: Sentence 1 will be gray, Sentence 2 will be pink.
B: Both sentences will be gray.
C: Sentence 1 will be pink, Sentence 2 will be gray.
D: Both sentences will be pink.
E: The code does not make sense; will throw an error.

Easy

Links
Css Syntax
Css Stylesheet Application
Solve
In the following HTML, what will be the color of link with class "mark"
 image

Medium

Let's Hack
CSS Property
Html
Css
Solve
Consider the following HTML and CSS:
 image
 image
Which additional CSS rule(s) will render the following image? Choose ALL that apply.
 image
A:
div{
  flex-direction : column;
  align-items : center;
}
B:
div{
  flex-direction : row;
  align-items: center;
}
C:
div{
  flex-direction: column;
  justify-content: center;
}
D:
div{
  flex-direction: row;
  justify-content: center;
}
🧐 Question🔧 Skill

Medium

Async Await Promises
Promises
Async-Await
Asynchronous Programming

2 mins

JavaScript
Solve

Medium

Bitcoin prices
Axios
Promises

2 mins

JavaScript
Solve

Medium

My Module
Scope
Javascript Es6
Closure

2 mins

JavaScript
Solve

Medium

Promise Resolve
Promises
Async-Await
Code Analysis
Syntax Understanding

2 mins

JavaScript
Solve

Easy

Throw, Try, Async
Promises
Async-Await
Async/await

2 mins

JavaScript
Solve

Hard

Context re-renders
React Context API
Conditional Rendering
Component Lifecycle State

3 mins

React
Solve

Medium

Hooks with Conditional Rendering
Hooks
Conditional Rendering
Event Handling

3 mins

React
Solve

Medium

Rhyme Reducer
Reducer functions
Immutable update patterns
Lazy initialization

3 mins

React
Solve

Hard

State Handling with Custom Hooks
Custom Hooks
Context API
Event Handling

3 mins

React
Solve

Easy

Background Properties
Css

2 mins

HTML/CSS
Solve

Easy

Colorful sentences
Html/css Color Styling

2 mins

HTML/CSS
Solve

Easy

Links
Css Syntax
Css Stylesheet Application

2 mins

HTML/CSS
Solve

Medium

Let's Hack
CSS Property
Html
Css

3 mins

HTML/CSS
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Async Await Promises
Promises
Async-Await
Asynchronous Programming
JavaScript
Medium2 mins
Solve
Bitcoin prices
Axios
Promises
JavaScript
Medium2 mins
Solve
My Module
Scope
Javascript Es6
Closure
JavaScript
Medium2 mins
Solve
Promise Resolve
Promises
Async-Await
Code Analysis
Syntax Understanding
JavaScript
Medium2 mins
Solve
Throw, Try, Async
Promises
Async-Await
Async/await
JavaScript
Easy2 mins
Solve
Context re-renders
React Context API
Conditional Rendering
Component Lifecycle State
React
Hard3 mins
Solve
Hooks with Conditional Rendering
Hooks
Conditional Rendering
Event Handling
React
Medium3 mins
Solve
Rhyme Reducer
Reducer functions
Immutable update patterns
Lazy initialization
React
Medium3 mins
Solve
State Handling with Custom Hooks
Custom Hooks
Context API
Event Handling
React
Hard3 mins
Solve
Background Properties
Css
HTML/CSS
Easy2 mins
Solve
Colorful sentences
Html/css Color Styling
HTML/CSS
Easy2 mins
Solve
Links
Css Syntax
Css Stylesheet Application
HTML/CSS
Easy2 mins
Solve
Let's Hack
CSS Property
Html
Css
HTML/CSS
Medium3 mins
Solve
Get started for free
Preview questions
love bonito

With Adaface, we were able to optimise our initial screening process by upwards of 75%, freeing up precious time for both hiring managers and our talent acquisition team alike!

Brandon Lee, Head of People, Love, Bonito

Brandon
love bonito

It's very easy to share assessments with candidates and for candidates to use. We get good feedback from candidates about completing the tests. Adaface are very responsive and friendly to deal with.

Kirsty Wood, Human Resources, WillyWeather

Brandon
love bonito

We were able to close 106 positions in a record time of 45 days! Adaface enables us to conduct aptitude and psychometric assessments seamlessly. My hiring managers have never been happier with the quality of candidates shortlisted.

Amit Kataria, CHRO, Hanu

Brandon
love bonito

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.

Swayam Narain, CTO, Affable

Brandon

Why you should use Pre-employment GatsbyJS Test?

The GatsbyJS Test makes use of scenario-based questions to test for on-the-job skills as opposed to theoretical knowledge, ensuring that candidates who do well on this screening test have the relavant skills. The questions are designed to covered following on-the-job aspects:

  • Understanding and implementing routing in GatsbyJS
  • Styling components and pages in GatsbyJS
  • Sourcing and querying data in GatsbyJS
  • Optimizing performance and scaling in GatsbyJS
  • Understanding and utilizing React fundamentals
  • Applying JavaScript ES6 basics
  • Implementing HTML/CSS basics
  • Designing responsive web pages
  • Optimizing website performance
  • Creating static sites using GatsbyJS

Once the test is sent to a candidate, the candidate receives a link in email to take the test. For each candidate, you will receive a detailed report with skills breakdown and benchmarks to shortlist the top candidates from your pool.

What topics are covered in the GatsbyJS Test?

Routing and Styling in GatsbyJS: This skill involves creating and managing routes in GatsbyJS, as well as implementing CSS styles for the website. It is important to measure this skill in the test to ensure candidates can effectively create dynamic and visually appealing web pages in GatsbyJS.

Sourcing and Querying Data in GatsbyJS: This skill focuses on fetching and querying data from various sources, such as APIs or markdown files, in GatsbyJS. It is crucial to measure this skill to evaluate candidates' ability to access and manipulate data to create dynamic and interactive websites.

Performance and Scaling: This skill deals with optimizing website performance and ensuring scalability in GatsbyJS. Candidates' proficiency in this area is essential to evaluate their ability to build efficient and fast-loading websites that can handle large amounts of traffic and data.

React Fundamentals: This skill covers the fundamental concepts and principles of React, such as components, state management, and lifecycle methods. Measuring this skill is necessary to assess candidates' foundational knowledge and understanding of React, which is an integral part of GatsbyJS development.

JavaScript ES6 Basics: This skill involves understanding and utilizing the modern JavaScript features and syntax introduced in ES6, such as arrow functions, spread operators, and template literals. Assessing candidates' proficiency in this skill helps determine their ability to write clean and efficient JavaScript code in GatsbyJS.

HTML/CSS Basics: This skill encompasses the fundamental concepts and techniques of HTML and CSS, including markup structure, layout, and styling. It is important to measure this skill to evaluate candidates' ability to create well-structured HTML templates and apply CSS styles effectively in GatsbyJS.

Responsive Design: This skill involves creating web designs that adapt and respond to different screen sizes and devices. Evaluating candidates' proficiency in responsive design is crucial to ensure they can develop websites that provide a seamless and optimal user experience across various devices in GatsbyJS.

Performance Optimization: This skill focuses on optimizing the performance of GatsbyJS websites by minimizing load times, reducing resource consumption, and improving overall efficiency. Measuring this skill helps assess candidates' ability to design and implement efficient coding and optimization techniques in GatsbyJS.

Static Site Generation: This skill involves utilizing GatsbyJS's static site generation capabilities to pre-render and generate static HTML files for improved performance and SEO. Evaluating candidates' proficiency in this skill helps determine their understanding and expertise in utilizing GatsbyJS's static site generation features.

JavaScript Coding: This skill covers candidates' ability to write clean, maintainable, and efficient JavaScript code in GatsbyJS. Measuring this skill is essential to evaluate candidates' overall programming abilities and their capability to implement complex functionalities and logic in GatsbyJS projects.

Full list of covered topics

The actual topics of the questions in the final test will depend on your job description and requirements. However, here's a list of topics you can expect the questions for GatsbyJS Test to be based on.

Routing
Styling
CSS Modules
GraphQL
Data Sourcing
Data Querying
Performance Optimization
Scalability
React Components
React Hooks
Props
State
Arrow Functions
Destructuring
Spread Operator
Promise
Async/Await
Events
DOM Manipulation
HTML Tags
CSS Selectors
Box Model
Media Queries
CSS Flexbox
CSS Grid
Optimization Techniques
CDN
Compression
Minification
Preloading
Caching
Static Site Generation
React Routing
React Hooks
React Context
React Forms
React Lifecycle Methods
React Component Communication
Error Handling in JavaScript
Array Methods
String Manipulation
Accessing DOM Elements
DOM Manipulation with JavaScript
Iterators
Generators
Regular Expressions
Git Basics
Command Line Interface
Debugging in GatsbyJS
Responsive Images
Mobile-First Design
CSS Transitions
JavaScript Testing
Code Refactoring
Code Structure
Code Organization
Code Reusability
Error Handling in GatsbyJS
Performance Monitoring
Security Best Practices
Version Control
Webpack Configuration
Optimizing Render Performance
SEO Optimization
Error Handling in React
Code Splitting
Progressive Web Apps
Server-side Rendering
State Management in React
React Router
Form Validation
React Native
Design Patterns
Module Bundlers
Responsive Layouts
SEO Techniques

What roles can I use the GatsbyJS Test for?

  • Front-end Developer
  • Web Developer
  • Full Stack Developer
  • UI/UX Designer
  • JavaScript Developer
  • React Developer
  • Web Designer
  • Front-end Engineer
  • Web Application Developer
  • Responsive Design Developer

How is the GatsbyJS Test customized for senior candidates?

For intermediate/ experienced candidates, we customize the assessment questions to include advanced topics and increase the difficulty level of the questions. This might include adding questions on topics like

  • Writing JavaScript code
  • Implementing authentication and authorization in GatsbyJS
  • Using GraphQL to query and manipulate data in GatsbyJS
  • Working with Gatsby plugins for various functionalities
  • Implementing lazy loading for images and content in GatsbyJS
  • Implementing form handling and validation in GatsbyJS
  • Using CSS preprocessors (e.g., SCSS, LESS) in GatsbyJS
  • Implementing SEO optimization in GatsbyJS
  • Implementing third-party API integration in GatsbyJS
  • Troubleshooting and debugging GatsbyJS applications
  • Building and optimizing responsive design layouts

The coding question for experienced candidates will be of a higher difficulty level to evaluate more hands-on experience.

Try the most advanced candidate assessment platform

ChatGPT Protection

Non-googleable Questions

Web Proctoring

IP Proctoring

Webcam Proctoring

MCQ Questions

Coding Questions

Typing Questions

Personality Questions

Custom Questions

Ready-to-use Tests

Custom Tests

Custom Branding

Bulk Invites

Public Links

ATS Integrations

Multiple Question Sets

Custom API integrations

Role-based Access

Priority Support

GDPR Compliance

Screen candidates in 3 easy steps

Pick a test from over 500+ tests

The Adaface test library features 500+ tests to enable you to test candidates on all popular skills- everything from programming languages, software frameworks, devops, logical reasoning, abstract reasoning, critical thinking, fluid intelligence, content marketing, talent acquisition, customer service, accounting, product management, sales and more.

Invite your candidates with 2-clicks

Make informed hiring decisions

Get started for free
Preview questions

Have questions about the GatsbyJS Hiring Test?

What is GatsbyJS Test?

The GatsbyJS Test assesses a candidate's skills in GatsbyJS, a popular static site generator. It's ideal for recruiters looking to hire developers proficient in GatsbyJS and related technologies like JavaScript, React, and HTML/CSS.

Can I combine JavaScript Test with other questions?

Yes, recruiters can request a custom test combining multiple skills. For JavaScript skills, check out our JavaScript Online Test to see how we assess JavaScript proficiency.

What topics are evaluated in the GatsbyJS Test?

This test covers Routing and Styling in GatsbyJS, Sourcing and Querying Data in GatsbyJS, Performance and Scaling, React Fundamentals, JavaScript ES6 Basics, HTML/CSS Basics, Responsive Design, Performance Optimization, and Static Site Generation. Additionally, senior roles are assessed on advanced topics like Implementing lazy loading, SEO optimization, and third-party API integration.

How to use GatsbyJS Test in my hiring process?

We recommend using the GatsbyJS Test as a pre-screening tool at the start of your recruitment. Add a link in your job post or invite candidates via email to efficiently screen for the best candidates earlier.

Can I test JavaScript and NodeJS together in a test?

Yes, you can. It's recommended to test JavaScript and NodeJS together to evaluate full-stack capabilities. Check out our JavaScript & NodeJS Test for more details.

What are the main Frontend tests?
Can I combine multiple skills into one custom assessment?

Yes, absolutely. Custom assessments are set up based on your job description, and will include questions on all must-have skills you specify. Here's a quick guide on how you can request a custom test.

Do you have any anti-cheating or proctoring features in place?

We have the following anti-cheating features in place:

  • Non-googleable questions
  • IP proctoring
  • Screen proctoring
  • Web proctoring
  • Webcam proctoring
  • Plagiarism detection
  • Secure browser
  • Copy paste protection

Read more about the proctoring features.

How do I interpret test scores?

The primary thing to keep in mind is that an assessment is an elimination tool, not a selection tool. A skills assessment is optimized to help you eliminate candidates who are not technically qualified for the role, it is not optimized to help you find the best candidate for the role. So the ideal way to use an assessment is to decide a threshold score (typically 55%, we help you benchmark) and invite all candidates who score above the threshold for the next rounds of interview.

What experience level can I use this test for?

Each Adaface assessment is customized to your job description/ ideal candidate persona (our subject matter experts will pick the right questions for your assessment from our library of 10000+ questions). This assessment can be customized for any experience level.

Does every candidate get the same questions?

Yes, it makes it much easier for you to compare candidates. Options for MCQ questions and the order of questions are randomized. We have anti-cheating/ proctoring features in place. In our enterprise plan, we also have the option to create multiple versions of the same assessment with questions of similar difficulty levels.

I'm a candidate. Can I try a practice test?

No. Unfortunately, we do not support practice tests at the moment. However, you can use our sample questions for practice.

What is the cost of using this test?

You can check out our pricing plans.

Can I get a free trial?

Yes, you can sign up for free and preview this test.

I just moved to a paid plan. How can I request a custom assessment?

Here is a quick guide on how to request a custom assessment on Adaface.

View sample scorecard


Along with scorecards that report the performance of the candidate in detail, you also receive a comparative analysis against the company average and industry standards.

View sample scorecard
customers across world
Join 1200+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to use the Adaface GatsbyJS Test?
Ready to use the Adaface GatsbyJS Test?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Terms Privacy Trust Guide
ada
Ada
● Online
Previous
Score: NA
Next
✖️