Although it is always recommended to put JavaScript and CSS code into appropriate files (as .js and .css), most of major websites (like Amazon, fac
.js
.css
I think putting css and js into the main html makes the page loads fast.