Message from JavaScript discussions

September 2018

— Hahahahah, i like this group more and more

— 

I had this conversation years ago when i said hey someday everyone can programm whatever he/she wants. even tho some things got easier, its just not easy to cope the logic, the possibilities of mixing up things, staying up to date with major api changes, graphql. its fast times we live in!

— It still feels like this

— Baboshka

— Im on the right😅

— Hello, I'm pretty new to javascript. I have this line of html that should call the onload after loading the element:

<div id="button" align="middle" onload="console.log('hello')"></div>

But it doesn't output anything to the console. Why? How can I fix it?

Message permanent page

— I don't think onload works for every element

— Only body and img and certain others

— Ah, okay. Thank you a lot!

— Https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded

— Https://jsperf.com/hasownprop-vs-exact-falsee/1

— Https://jsperf.com/falsy-vs-exact-false/1