Removed css from html
Formatted code
Moved javascript from html to main.js
Moved inline css into main.css