How to do 2 actions via event.target?
-
It is necessary that by clicking on the text, it issues an alert, and when you click on the white circle, it issues console.log (done through if)
JavaScript Hannah Pace, Dec 2, 2020 -
something like this
Grayson Pacheco
1 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!