---
id: 5a9d72a1424fe3d0e10cad15
title: Change a variable for a specific area
challengeType: 0
videoUrl: ''
localeTitle: 更改特定区域的变量
---
## Description
当您在创建变量:root
,他们将设置可变整个页面的价值。然后,您可以通过在特定元素中再次设置它们来覆盖这些变量。
## Instructions
在penguin
类--penguin-belly
的值更改为white
。
## Tests
```yml
tests:
- text: penguin
类应该将--penguin-belly
变量重新分配为white
。
testString: 'assert(code.match(/.penguin\s*?{[\s\S]*--penguin-belly\s*?:\s*?white\s*?;[\s\S]*}/gi), "The penguin
class should reassign the --penguin-belly
variable to white
.");'
```
## Challenge Seed
## Solution
```js
// solution required
```