Introduction
Variables help you write code once and use it many times. This saves time and makes your code easier to change.
When you use the same color in many places on your website.
When you want to keep font sizes consistent across different sections.
When you need to update a spacing value used in multiple places.
When you want to quickly change a theme color without searching all your code.
When you want to avoid mistakes by typing the same value repeatedly.