Message from JavaScript discussions

May 2019

— JavaTpoint.com

— 

I am creating a totally cross browser custom function, I wanted to know if there was a way to prevent similar events from being replaced

— Yes, the way to prevent it is to use addEventListener instead of onevent

— addEventListener('click',
instead of
onclick =

— I found this

— Jesus christ

— Don't

— Just use addEventListener, only IE less than 6 doesn’t support it, and there is _no_ live version of IE

Message permanent page

— Coming from this challenge: https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/using-objects-for-lookups

why is my first solution wrong?
https://codepen.io/anon/pen/WByBbd

Message permanent page

— Https://codepen.io/anon/pen/dEKEpG here aswell it only works if i put it in brackets. if i check the outputs myself they are all correct. so this must be a bug on freecodecamps side right?

Message permanent page

— Add hakerrank

— Got some learny challenges