JavaScript30 – Day 3

Categories: Education

In today’s lesson, I’ve learned how to create dynamic CSS using JavaScript. The exercise was about how to fetch values of HTML input elements via JavaScript and convert these into CSS statements. The final code can be found onĀ 03 – CSS Variables.
References:

CSS :root
CSS variables
Document.querySelectorAll()
EventTarget.addEventListener()