" + html; } html = html.replace("",""); html = html.replace("",""); html = html.replace("",""); html = html.trim(); doc.innerHTML = html; return ( doc.innerHTML.toLowerCase() === html.toLowerCase() ); } function codeCheckWarningClose() { document.getElementById("codeCheckWarning").style.display = "none"; } function codeCheckCorrectClose() { document.getElementById("codeCheckCorrect").style.display = "none"; }


Not Correct

Click here to try again.


Next ❯



Go to w3schools.com
Reset Score
Close This Menu


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 Hooks useState
React Hooks useEffect
React CSS Styling


Reset the Score?

This will reset the score of ALL 24 exercises.

Are you sure you want to continue?



You have finished all 24 React exercises.

Share your score: