Message from JavaScript discussions

May 2019



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:

why is my first solution wrong?

Message permanent page

— Https:// 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