React Exercises
You can test your React skills with W3Schools' Exercises.
Exercise Categories
There are 3 to 5 questions in each exercise category:
React
Get Started
React
ES6 Arrow Function
React
ES6 Variables
React
ES6 Array Methods
React
ES6 Destructuring
React
ES6 Spread
React
ES6 Ternary
React
JSX
React
Components
React
Props
React
Events
React
Conditionals
React
Lists
React
Hook useState
React
Hook useEffect
React
CSS Styling
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 on 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
We have gathered a variety of React exercises from most of the chapters in our React Tutorial.
The exercises are a mix of "multiple choice" and "fill in the blanks" questions. 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.
Get Certified!
$95 ENROLL