Home of web learners

www.webn3rd.com

Event is the action happened in you browser

Based on the event you can make action,like when when any user click on right buttton of mouse,a pop up will show

Lets start with an example:

<html>
<head>
    
</head>
<body>
    <button type="button" onclick="alert('This is an event');">check</button>
    
</body>
</html>





Here,you see an event added into button which is onclick action,if user click on this button it will show an alert

We can use different kind of event of user on webpage and on specific event,we can do different function there to work for this event

webn3rd.com

About webn3rd