+ 1

React code not working

Why am I getting an error here? Is this a sololearn messup or? https://code.sololearn.com/Wf8ylN6XTC8A/#js

20th Feb 2019, 8:25 PM
Yosharu
Yosharu - avatar
4 Answers
+ 12
https://code.sololearn.com/Wi772Mr81mX8/?ref=app
20th Feb 2019, 11:01 PM
Burey
Burey - avatar
+ 5
You need to include the React libraries. https://www.sololearn.com/learn/11962/
20th Feb 2019, 9:22 PM
Rowsej
Rowsej - avatar
+ 5
Yosharu you have forgotten to include React and react-DOM library, not adding babel script directive and without using ReactDOM.render. Check out this code, I tried to add the lib and other necessary for you. https://code.sololearn.com/WVQxQqEaI6r1/?ref=app
21st Feb 2019, 2:04 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 2
CalviŐ˛ thanks a lot. i see some things in the js you added that ill have to learn about but ill work on it.
21st Feb 2019, 7:45 PM
Yosharu
Yosharu - avatar