Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SASS VUE GEN AI SCIPY CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING BASH RUST

React Exercises


Test your React skills with exercises from all categories:

Exercises

Tip: Sign in to track your progress - it's free.

0/47 done

Get Started4 exercises

Done

First App3 exercises

Done

Render4 exercises

Done

ES6 Classes4 exercises

Done

ES6 Arrow Function3 exercises

Done

ES6 Variables3 exercises

Done

ES6 Array Map4 exercises

Done

ES6 Destructuring4 exercises

Done

ES6 Spread3 exercises

Done

ES6 Modules3 exercises

Done

ES6 Ternary3 exercises

Done

ES6 Template Strings3 exercises

Done

JSX5 exercises

Done

JSX Expressions3 exercises

Done

JSX Attributes3 exercises

Done

JSX If Statements3 exercises

Done

Components3 exercises

Done

Props3 exercises

Done

Props Destructuring3 exercises

Done

Props Children3 exercises

Done

Events3 exercises

Done

Conditionals3 exercises

Done

Lists3 exercises

Done

Forms3 exercises

Done

Forms Textarea3 exercises

Done

Forms Select3 exercises

Done

Forms Multiple Inputs3 exercises

Done

Forms Checkbox3 exercises

Done

Forms Radio3 exercises

Done

Portals4 exercises

Done

Suspense4 exercises

Done

CSS Styling5 exercises

Done

CSS Modules4 exercises

Done

CSS in JS4 exercises

Done

Router4 exercises

Done

Transitions4 exercises

Done

Forward Ref4 exercises

Done

Higher Order Components3 exercises

Done

Sass Styling3 exercises

Done

Hooks useState3 exercises

Done

Hooks useEffect3 exercises

Done

useContext Hook3 exercises

Done

useRef Hook3 exercises

Done

useReducer Hook3 exercises

Done

useCallback Hook3 exercises

Done

useMemo Hook4 exercises

Done

Custom Hooks3 exercises

Done

Log in to track your progress

If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete.

As a logged-in W3Schools user you will have access to many features like having your own web page, track your learning progress, receive personal guided paths, and more.


The Exercise

The exercises are a mix of "multiple choice" and "fill in the blanks" questions. There are between 3 and 9 questions in each category. The answer can be found in the corresponding tutorial chapter. If you're stuck, or answer wrong, you can try again or hit the "Show Answer" button to see the correct answer.



×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2025 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.