+ 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

5th Oct 2022, 7:55 PM
FĂ©lix Zamdamela
FĂ©lix  Zamdamela - avatar
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
5th Oct 2022, 9:07 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
Thanks bro it's finally working
5th Oct 2022, 9:27 PM
FĂ©lix Zamdamela
FĂ©lix  Zamdamela - avatar