0

Anyone can tell me what does an event do ?

27th Jul 2020, 7:56 AM
Ultimate Sakshamz
3 ответов
0
Events in general u can say a phenomenon to be occured, and by that phenomenon some thing would change.. So when you click on a button, something should happen, right? So the "click" is the type of event which may occur.. and due to clicking on it, some things may change.. So javascript provides you eventhandlers, by which you can target that click event and then it lets you decide, to do whatever functionality you want to implement on clicking that button.. So their are many such events, as click, blur, focus, hover, keyup, keydown and many more.. so each event has it's own specificity of occurrence, u can read about all those events here : https://www.w3schools.com/jsref/dom_obj_event.asp
27th Jul 2020, 9:19 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
https://developer.mozilla.org/en-US/docs/Web/Events
27th Jul 2020, 8:00 AM
Artur
Artur - avatar
+ 1
Thank you
27th Jul 2020, 9:21 AM
Ultimate Sakshamz