DOM handleEvent: a cross-platform standard since year 20007316Andrea GiammarchiJakub T. JankiewiczFollowJul 29, 2017 · 1 min readThere are errors in examples you use [‘on’ + e.type] so event method should be click, not onclick.