|
4555 | 4555 | "tests": [
|
4556 | 4556 | {
|
4557 | 4557 | "text":
|
4558 |
| - "<code>penguin</code> class should declar the <code>--penguin-skin</code> variable and assign it to <code>gray</code>.", |
| 4558 | + "<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>gray</code>.", |
4559 | 4559 | "testString":
|
4560 |
| - "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-skin\\s*?:\\s*?gray\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declar the <code>--penguin-skin</code> variable and assign it to <code>gray</code>.');" |
| 4560 | + "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-skin\\s*?:\\s*?gray\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>gray</code>.');" |
4561 | 4561 | },
|
4562 | 4562 | {
|
4563 | 4563 | "text":
|
4564 |
| - "<code>penguin</code> class should declar the <code>--penguin-skin</code> variable and assign it to <code>white</code>.", |
| 4564 | + "<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>white</code>.", |
4565 | 4565 | "testString":
|
4566 |
| - "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-belly\\s*?:\\s*?white\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declar the <code>--penguin-skin</code> variable and assign it to <code>white</code>.');" |
| 4566 | + "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-belly\\s*?:\\s*?white\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>white</code>.');" |
4567 | 4567 | },
|
4568 | 4568 | {
|
4569 | 4569 | "text":
|
4570 |
| - "<code>penguin</code> class should declar the <code>--penguin-skin</code> variable and assign it to <code>orange</code>.", |
| 4570 | + "<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>orange</code>.", |
4571 | 4571 | "testString":
|
4572 |
| - "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-beak\\s*?:\\s*?orange\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declar the <code>--penguin-skin</code> variable and assign it to <code>orange</code>.');" |
| 4572 | + "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-beak\\s*?:\\s*?orange\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>orange</code>.');" |
4573 | 4573 | }
|
4574 | 4574 | ],
|
4575 | 4575 | "solutions": [],
|
|
4803 | 4803 | "tests": [
|
4804 | 4804 | {
|
4805 | 4805 | "text":
|
4806 |
| - "<code>penguin</code> class should declar the <code>--penguin-skin</code> variable and assign it to <code>gray</code>.", |
| 4806 | + "<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>gray</code>.", |
4807 | 4807 | "testString":
|
4808 |
| - "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-skin\\s*?:\\s*?gray\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declar the <code>--penguin-skin</code> variable and assign it to <code>gray</code>.');" |
| 4808 | + "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-skin\\s*?:\\s*?gray\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>gray</code>.');" |
4809 | 4809 | }
|
4810 | 4810 | ],
|
4811 | 4811 | "solutions": [],
|
|
5036 | 5036 | "tests": [
|
5037 | 5037 | {
|
5038 | 5038 | "text":
|
5039 |
| - "Apply the <code>--penguin-skin</code> variable to the <code>background</code> property of the <code>pengiun-top</code> class.", |
| 5039 | + "Apply the <code>--penguin-skin</code> variable to the <code>background</code> property of the <code>penguin-top</code> class.", |
5040 | 5040 | "testString":
|
5041 |
| - "assert(code.match(/.penguin-top\\s*?{[\\s\\S]*background\\s*?:\\s*?var\\s*?\\(\\s*?--penguin-skin\\s*?\\)\\s*?;[\\s\\S]*}[\\s\\S]*.penguin-bottom\\s{/gi), 'Apply the <code>--penguin-skin</code> variable to the <code>background</code> property of the <code>pengiun-top</code> class.');" |
| 5041 | + "assert(code.match(/.penguin-top\\s*?{[\\s\\S]*background\\s*?:\\s*?var\\s*?\\(\\s*?--penguin-skin\\s*?\\)\\s*?;[\\s\\S]*}[\\s\\S]*.penguin-bottom\\s{/gi), 'Apply the <code>--penguin-skin</code> variable to the <code>background</code> property of the <code>penguin-top</code> class.');" |
5042 | 5042 | },
|
5043 | 5043 | {
|
5044 | 5044 | "text":
|
5045 |
| - "Apply the <code>--penguin-skin</code> variable to the <code>background</code> property of the <code>pengiun-bottom</code> class.", |
| 5045 | + "Apply the <code>--penguin-skin</code> variable to the <code>background</code> property of the <code>penguin-bottom</code> class.", |
5046 | 5046 | "testString":
|
5047 |
| - "assert(code.match(/.penguin-bottom\\s*?{[\\s\\S]*background\\s*?:\\s*?var\\s*?\\(\\s*?--penguin-skin\\s*?\\)\\s*?;[\\s\\S]*}[\\s\\S]*.right-hand\\s{/gi), 'Apply the <code>--penguin-skin</code> variable to the <code>background</code> property of the <code>pengiun-bottom</code> class.');" |
| 5047 | + "assert(code.match(/.penguin-bottom\\s*?{[\\s\\S]*background\\s*?:\\s*?var\\s*?\\(\\s*?--penguin-skin\\s*?\\)\\s*?;[\\s\\S]*}[\\s\\S]*.right-hand\\s{/gi), 'Apply the <code>--penguin-skin</code> variable to the <code>background</code> property of the <code>penguin-bottom</code> class.');" |
5048 | 5048 | },
|
5049 | 5049 | {
|
5050 | 5050 | "text":
|
|
5303 | 5303 | "text":
|
5304 | 5304 | "Apply the fallback value of <code>black</code> to the <code>background</code> property of the <code>penguin-top</code> class.",
|
5305 | 5305 | "testString":
|
5306 |
| - "assert(code.match(/.penguin-top\\s*?{[\\s\\S]*background\\s*?:\\s*?var\\(\\s*?--pengiun-skin\\s*?,\\s*?black\\s*?\\)\\s*?;[\\s\\S]*}[\\s\\S]*.penguin-bottom\\s{/gi), 'Apply the fallback value of <code>black</code> to the <code>background</code> property of the <code>penguin-top</code> class.');" |
| 5306 | + "assert(code.match(/.penguin-top\\s*?{[\\s\\S]*background\\s*?:\\s*?var\\(\\s*?--penguin-skin\\s*?,\\s*?black\\s*?\\)\\s*?;[\\s\\S]*}[\\s\\S]*.penguin-bottom\\s{/gi), 'Apply the fallback value of <code>black</code> to the <code>background</code> property of the <code>penguin-top</code> class.');" |
5307 | 5307 | },
|
5308 | 5308 | {
|
5309 | 5309 | "text":
|
5310 | 5310 | "Apply the fallback value of <code>black</code> to the <code>background</code> property of the <code>penguin-bottom</code> class.",
|
5311 | 5311 | "testString":
|
5312 |
| - "assert(code.match(/.penguin-bottom\\s*?{[\\s\\S]*background\\s*?:\\s*?var\\(\\s*?--pengiun-skin\\s*?,\\s*?black\\s*?\\)\\s*?;[\\s\\S]*}/gi), 'Apply the fallback value of <code>black</code> to the <code>background</code> property of the <code>penguin-bottom</code> class.');" |
| 5312 | + "assert(code.match(/.penguin-bottom\\s*?{[\\s\\S]*background\\s*?:\\s*?var\\(\\s*?--penguin-skin\\s*?,\\s*?black\\s*?\\)\\s*?;[\\s\\S]*}/gi), 'Apply the fallback value of <code>black</code> to the <code>background</code> property of the <code>penguin-bottom</code> class.');" |
5313 | 5313 | }
|
5314 | 5314 | ],
|
5315 | 5315 | "solutions": [],
|
|
5341 | 5341 | " left: 25%;",
|
5342 | 5342 | " ",
|
5343 | 5343 | " /* change code below */",
|
5344 |
| - " background: var(--pengiun-skin);", |
| 5344 | + " background: var(--penguin-skin);", |
5345 | 5345 | " /* change code above */",
|
5346 | 5346 | " ",
|
5347 | 5347 | " width: 50%;",
|
|
5354 | 5354 | " left: 23.5%;",
|
5355 | 5355 | " ",
|
5356 | 5356 | " /* change code below */",
|
5357 |
| - " background: var(--pengiun-skin);", |
| 5357 | + " background: var(--penguin-skin);", |
5358 | 5358 | " /* change code above */",
|
5359 | 5359 | " ",
|
5360 | 5360 | " width: 53%;",
|
|
0 commit comments