Sunday, February 18, 2018

Now for JS!!

Added a change of font-face. Note how the properties go from background-color to backgroundColor, and font-family to fontFamily: it is the difference between CSS and Javascript.

About the this word in the function: it is a JS referent. Like the she in 'Mary went to the store; she bought lemonade'.

https://javascript.info/css-animations

No comments: