---
id: 5d822fd413a79914d39e993e
title: Part 118
challengeType: 0
dashedName: part-118
---
# --description--
Lastly, in the `:root` selector of the media query, redefine all four of the `--window-color` variables to use `#777`. When you're done, resize the window and watch it go from day to night.
Variables are primarily used with colors, and that's how you used them here. But they can be given any value and used on any property. Your project looks great!
# --hints--
You should add `--window-color1` with a value of `#777`.
```js
assert.equal(new __helpers.CSSHelp(document).getRuleListsWithinMedia("(max-width: 1000px)")?.find(x=>x.selectorText === ":root")?.style?.getPropertyValue("--window-color1")?.trim(), "#777");
```
You should add `--window-color2` with a value of `#777`.
```js
assert.equal(new __helpers.CSSHelp(document).getRuleListsWithinMedia("(max-width: 1000px)")?.find(x=>x.selectorText === ":root")?.style?.getPropertyValue("--window-color2")?.trim(), "#777");
```
You should add `--window-color3` with a value of `#777`.
```js
assert.equal(new __helpers.CSSHelp(document).getRuleListsWithinMedia("(max-width: 1000px)")?.find(x=>x.selectorText === ":root")?.style?.getPropertyValue("--window-color3")?.trim(), "#777");
```
You should add `--window-color4` with a value of `#777`.
```js
assert.equal(new __helpers.CSSHelp(document).getRuleListsWithinMedia("(max-width: 1000px)")?.find(x=>x.selectorText === ":root")?.style?.getPropertyValue("--window-color4")?.trim(), "#777");
```
# --seed--
## --seed-contents--
```html
    
  
    freeCodeCamp Skyline Project 
    freeCodeCamp Skyline Project