Created
February 24, 2018 14:26
-
-
Save haingdc/21bccc365f8390c8766dc8630fbf7799 to your computer and use it in GitHub Desktop.
A Gentle Introduction to Functional JavaScript: Part 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var unicornEl = document.getElementById('unicorn'); | |
unicornEl.className += ' magic'; | |
spin(unicornEl); | |
var fairyEl = document.getElementById('fairy'); | |
fairyEl.className += ' magic'; | |
sparkle(fairyEl); | |
var kittenEl = document.getElementById('kitten'); | |
kittenEl.className += ' magic'; | |
rainbowTrail(kittenEl); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment