+ 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

25th Jan 2022, 9:49 AM
Malick Diagne
Malick Diagne - avatar
2 Respuestas
+ 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>
25th Jan 2022, 9:54 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
Please add React in the tags for language context clarity ☝ https://code.sololearn.com/W3uiji9X28C1/?ref=app
25th Jan 2022, 10:58 AM
Ipang