×
×
Correct!
Enter the correct ReactDOM function to render the React element to the DOM.
const container = document.getElementById('root');
const root = ReactDOM.@(10)(container);
root.render(myElement);
const container = document.getElementById('root');
const root = ReactDOM.createRoot(container);
root.render(myElement);
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 24 exercises.
Are you sure you want to continue?