Dynamic CSS Variables

Tier: 1-Beginner

CSS variables are a powerful tool that lets the developer associate a symbolic name with a value, and then use that name in the stylesheet wherever that value is required. The advantage is that when a change to that value is required it only needs to change in the CSS variable definition rather than in the many spots it may be used.

What can make this even more powerful is to dynamically change the value of a CSS variable at runtime.

The goal of this app is to dynamically change the background color of text boxes based to let you gain experience using both CSS variables and dynamically changing them from within the app.

User Stories

Bonus features

Example projects

Dynamic CSS Variables