+ 1
Can anyone tell me what's wrong here?
I've already tested it in another application it works very well but here it returns the syntax error < https://code.sololearn.com/WGaBlaITJ8ip/?ref=app
2 Answers
+ 6
You need to add type="text/babel" to your script tag to use jsx.
also remove the unnecessary </div> after you button
+ 3
Thanks bro it's finally working