Attaching multiple events
If you want to attach multiple events into a specific element, you can also do that with the .on function. This function accepts an object, and each property of this object is an event. As shown in the picture the callback function is the value!