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
2 ответов
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
0
This course helped me to learn React, i think this is best one on internet https://scrimba.com/learn/learnreact