Question · HTML and CSS course · Module 9: Modern CSS
Design Tokens in the Project
What is used in the portfolio project to define design tokens such as colors and spacing?
Answer options
- CSS variables (custom properties) declared in :root
- HTML comments
- The alt attribute on images
- A <script> tag in the head section
You can check the correct answer by solving this task in the CodeWorlds game.