Inline JavaScript is not evil — but there’s a time and place for everything. While it was popular in the days before Angular and React rose to the peaks of its current adoption, the usage of pure inline JavaScript is on the decline.
Just because you can do it and in relative ease, it doesn’t mean that you should.
Inline JavaScript in HTML: Don’t do it, unless you like really, really bad code
Posted by eyalkatz under TechnologyFrom https://blog.codota.com 1595 days ago
Who Voted for this Story
Subscribe
Comments