0

I want to do event listener with button click. I have error line 19. Thanks you sir.

To do event listener with button. https://code.sololearn.com/WehG5qb80lC3/?ref=app

30th Sep 2021, 6:01 AM
Malick Diagne
Malick Diagne - avatar
2 Antworten
0
onClick is in React event listener, also syntax is same as in objects, (name : value) not "=", I suggest you to learn JSX it make creating elements much easier https://code.sololearn.com/W9x9TCD5983v/?ref=app
30th Sep 2021, 9:34 AM
PanicS
PanicS - avatar
0
This course helped me to learn React, i think this is best one on internet https://scrimba.com/learn/learnreact
30th Sep 2021, 9:44 AM
PanicS
PanicS - avatar