--- id: 587d7dbd367417b2b2512bb4 title: Store Data with Sass Variables required: - src: 'https://cdnjs.cloudflare.com/ajax/libs/sass.js/0.10.9/sass.sync.min.js' raw: true challengeType: 0 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions
إنشاء متغير $text-color وتعيينه إلى اللون الأحمر. ثم قم بتغيير قيمة خاصية color أجل .blog-post و h2 إلى متغير $text-color .
## Tests
```yml tests: - text: '' testString: 'assert(code.match(/\$text-color:\s*?red;/g), "Your code should have a Sass variable declared for $text-color with a value of red.");' - text: '' testString: 'assert(code.match(/color:\s*?\$text-color;/g), "Your code should use the $text-color variable to change the color for the .blog-post and h2 items.");' - text: '' testString: 'assert($(".blog-post").css("color") == "rgb(255, 0, 0)", "Your .blog-post element should have a color of red.");' - text: '' testString: 'assert($("h2").css("color") == "rgb(255, 0, 0)", "Your h2 elements should have a color of red.");' ```
## Challenge Seed
```html

Learn Sass

Some random title

This is a paragraph with some random text in it

Header #2

Here is some more random text.

Here is another header

Even more random text within a paragraph

```
## Solution
```js // solution required ```