js and css in external files

place inlines styles and scripts in externals script.js and styles.css
files
places scripts in head