React course about rendering components

Feedback

I dont think this lesson should give you a error/say you are wrong if you define variables for the element you want to choose as a root and the root also. It only recognizes ReactDOM.createRoot(document.getElementById('app')).render(<MyComponent />); as a correct answer.