Codepen vanilla javascript snippets

#1

https://codepen.io/shawnrossouw/full/rgpoBg