Screenshot of Day 3 challenge

Day 3: Playing with CSS Variables and JS

........CSS Variables?

What did I learn?

CSS variables exist and use -- for its syntax. I don't know why I didn't know this. I found this blog post which helped provide insight between CSS variables and preprocessors.

forEach has recently been added to NodeList.

HTMLElement.dataset allows access to all custom data attributes set on the element.

Enabling the Emoji Sublime Text 3 plugin and using them in data-* attributes.

Interested in participating in #JavaScript30?

Register here and learn at your own speed.