i have questions javascript. of website's pages use js. better performance, should ? : write of js code in 1 file , link pages ? or 1 js file per page ?
is bad manner never mix js html ? have separate things (html, css, js)
thank you.
for maintainability
keep separate pages while developing app, 1 can make out feature has been coded where.
for performance
before deploying production, minify js , css files there less network calls download files.
is bad manner never mix js html ?
no, having non-intrusive js both readability , performance since gives chance minify js files. can't minify inline js.
Comments
Post a Comment