Okay, you absolutely NEED to put your CSS in an external .css file, and your javascript into an external .js file.
For SEO purposes, put the CSS file in the same directory as your index.html file, and put your JS file in a folder.
Your page will load faster because there will be less code to...