+ 1
Good morning sir. I have error line 54. I want to render character and clothes. Thanks you sir.
render character and clothes. https://code.sololearn.com/Wl2uAHEYt8Ko/?ref=app
2 Respostas
+ 6
ReactDOM.render (<App />, document.getElementById ("root"));
You are looking for an element by the ID "root", but no element is given this ID. You can provide an ID for your target container, and that should solve the issue. E.g.
<div id = "root">loading</div>
+ 2
Please add React in the tags for language context clarity ☝
https://code.sololearn.com/W3uiji9X28C1/?ref=app