JavaScript and the DOM > Event Object Methods > Flashcards
preventDefault()
To cancel the event if it is cancelable, meaning that any default action normally taken by the implementation as a result of the event will not occur
stopPropagation()
To prevent further propagation of an event during event flow