August 31 and the JavaScript disappearance
Post date: Aug 30, 2016 11:7:14 PM
Until August 31, 2016, it was possible to host a website on Google Drive, but now complex sites need to either use the Google Drive API, Firebase or Google Cloud Platform.
This is bad, as many JavaScript and CSS code snippets have been hosted on Drive. It is perhaps best to include such snippets right into your template, decreasing loading time at the expense of code readability and easier updating.
The HTML of a webpage may be augmented with styles (CSS) and scripts (JavaScript). These are advanced topics and we recommend you get acquainted with it only in due course. However, you can and should move external scripts into the main Blogger page to decrease loading time and reliance on services that might disappear. This should all happen right above /head and be careful with relative paths in the remote-hosted code.
To include a JavaScript (*.js) file, replace its call with
<script type='text/javascript'> //<![CDATA[ ..all the code.. //]]> </script>
To include a CSS,
<style type="text/css">
/* This is a comment followed by a CSS rule */
body
{
color:#999;
background-color:whiteSmoke;
font-family:"Georgia", Helvetica, sans-serif;
}
</style>
Good luck!