Example from W3Schools page: http://www.w3schools.com/js/tryit.asp?filename=tryjs_lightbulb
create custom function in JS
moved js to external file called 'animate.js'
Added responsive horizon. alignment to HTML elements in style.css. (Had to disable body min-width in grid.css to make it work).