5 ms·
Still can't get over how they put html inside js.
by jwmoz 4y ago
Still can't get over how they put html inside js.
- mrweasel 4y agoI feel the same way. When I first moved from just doing things purely in HTML one for prevailing mantras online was: css, javascript and html are three separate things, they do not mix. Your site should work if the css didn't load, it should work if javascript failed. The basic premise was progressive enhancements, javascript augmented your html, but again, never mix. Another argument was that your web designers couldn't be expected to know or understand javascript, they weren't necessarily programmers, so they should be able to just stay in html and css.
- jwmoz 4y agoFor me it's more the bastardisation of the MVC pattern.