From 1083f1d5c5a58a4b399f1af4842abd96443aff0b Mon Sep 17 00:00:00 2001 From: Nathan Anthony <68319100+Pegasoos@users.noreply.github.com> Date: Thu, 9 Jun 2022 23:53:07 -0400 Subject: [PATCH] fix(curriculum): missing `:root` test to skyline css challenge (#46427) * fix/added missing test to skyline css challenge * fix(curriculum): missing :root --- .../5d822fd413a79914d39e993d.md | 1 + 1 file changed, 1 insertion(+) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-css-variables-by-building-a-city-skyline/5d822fd413a79914d39e993d.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-css-variables-by-building-a-city-skyline/5d822fd413a79914d39e993d.md index c57e461e3c1..769b24567aa 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-css-variables-by-building-a-city-skyline/5d822fd413a79914d39e993d.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-css-variables-by-building-a-city-skyline/5d822fd413a79914d39e993d.md @@ -14,6 +14,7 @@ Add a `:root` selector to the top of your media query. Then redefine all four of You should add a `:root` selector to the media query. ```js +assert.notDeepEqual(new __helpers.CSSHelp(document).getRuleListsWithinMedia("(max-width: 1000px)")?.find(x=>x.selectorText === ":root"), undefined); ``` You should add `--building-color1` with a value of `#000`.