I have one question:
I just started learning JS. How can I write a document or window event listener that will listen for 'any' event and output it to the console?
window.addEventListener('don't put event here', callback, false);
I really don't know how to listen to any window or document event. I checked this Listen for all events in JavaScript someone suggested but I don't understand much of it.
Thanks.
Thank you, Matt