--- id: 5a9d726c424fe3d0e10cad11 title: Create a custom CSS Variable challengeType: 0 videoUrl: 'https://scrimba.com/c/cQd27Hr' forumTopicId: 301086 --- ## Description
To create a CSS variable, you just need to give it a name with two hyphens in front of it and assign it a value like this: ```css --penguin-skin: gray; ``` This will create a variable named --penguin-skin and assign it the value of gray. Now you can use that variable elsewhere in your CSS to change the value of other elements to gray.
## Instructions
In the penguin class, create a variable name --penguin-skin and give it a value of gray.
## Tests
```yml tests: - text: penguin class should declare the --penguin-skin variable and assign it to gray. testString: assert(code.match(/\.penguin\s*\{[^{}]*?--penguin-skin\s*:\s*gr[ae]y\s*;[^{}]*?\}/gi)); ```
## Challenge Seed
```html
```
## Solution
```html ```