DEV Community

Discussion on: Those silly mistakes we all make

Collapse
 
yashints profile image
Yaser Adel Mehraban

Love this, my worst nightmare was something like this 👇

<script type="text/javscript" src="main.js"></script>

I spend hours trying to see why it's not working. Obviously it was a long time ago and I had no idea you could look into network calls inside browser 🤷‍♂️

Collapse
 
philnash profile image
Phil Nash

That's one issue with browsers not complaining if they can't do something.

"Sure," it thought, "this is a classing javscript file, shame I don't know how to parse and run them, on with the next element!"

So useful at times, so painful when it's a typo!

Collapse
 
yashints profile image
Yaser Adel Mehraban

Couldn't agree more

Collapse
 
metalmikester profile image
Michel Renaud

Javscript if the dialect of JavaScript used before your coffee kicks in.