Hello there
,
I have just finished Events skills tests, and I need a review for my codes. Here are my code pen links and task links.
Events 1 & Task link
Events 2 & Task link
Events 3 & Task link.
Thank you in Advance,
Dinesh.
Hello there
,
I have just finished Events skills tests, and I need a review for my codes. Here are my code pen links and task links.
Events 1 & Task link
Events 2 & Task link
Events 3 & Task link.
Thank you in Advance,
Dinesh.
Hi @Dinesh_Sake
Well done! 
Correct.
btn.textContent instead of e.target.textContent.btn.className.
Correct.
switch statement would be easier than if...else...if.drawCircle(x, y, size); can be written once at the end of the event listener instead in every condition.
Correct.
e.currentTarget. just buttonBar. would also work.As you see everything works correctly. My comments are just a few simplifications.
Happy coding,
Michael
Have simplified the tasks according to your comments. Thank you for your valuable inputs.
Youβre welcome! 
Looks great now.