fix(challenge-md): Fix quotes that failed in the transform

This commit is contained in:
Bouncey
2018-10-08 01:01:53 +01:00
committed by mrugesh mohapatra
parent 392b28fa55
commit a859035023
1333 changed files with 5710 additions and 5710 deletions

View File

@ -23,7 +23,7 @@ Define a variable named <code>--penguin-belly</code> in the <code>:root</code> s
```yml
tests:
- text: 'declare the <code>--penguin-belly</code> variable in the <code>:root</code> and assign it to <code>pink</code>.'
testString: 'assert(code.match(/:root\s*?{[\s\S]*--penguin-belly\s*?:\s*?pink\s*?;[\s\S]*}/gi), ''declare the <code>--penguin-belly</code> variable in the <code>:root</code> and assign it to <code>pink</code>.'');'
testString: 'assert(code.match(/:root\s*?{[\s\S]*--penguin-belly\s*?:\s*?pink\s*?;[\s\S]*}/gi), "declare the <code>--penguin-belly</code> variable in the <code>:root</code> and assign it to <code>pink</code>.");'
```
@ -37,16 +37,16 @@ tests:
```html
<style>
:root {
/* add code below */
/* add code above */
}
body {
background: var(--penguin-belly, #c6faf1);
}
.penguin {
--penguin-skin: gray;
--penguin-beak: orange;
@ -57,7 +57,7 @@ tests:
width: 300px;
height: 300px;
}
.right-cheek {
top: 15%;
left: 35%;
@ -66,7 +66,7 @@ tests:
height: 70%;
border-radius: 70% 70% 60% 60%;
}
.left-cheek {
top: 15%;
left: 5%;
@ -75,7 +75,7 @@ tests:
height: 70%;
border-radius: 70% 70% 60% 60%;
}
.belly {
top: 60%;
left: 2.5%;
@ -84,7 +84,7 @@ tests:
height: 100%;
border-radius: 120% 120% 100% 100%;
}
.penguin-top {
top: 10%;
left: 25%;
@ -93,7 +93,7 @@ tests:
height: 45%;
border-radius: 70% 70% 60% 60%;
}
.penguin-bottom {
top: 40%;
left: 23.5%;
@ -102,7 +102,7 @@ tests:
height: 45%;
border-radius: 70% 70% 100% 100%;
}
.right-hand {
top: 0%;
left: -5%;
@ -113,7 +113,7 @@ tests:
transform: rotate(45deg);
z-index: -1;
}
.left-hand {
top: 0%;
left: 75%;
@ -124,7 +124,7 @@ tests:
transform: rotate(-45deg);
z-index: -1;
}
.right-feet {
top: 85%;
left: 60%;
@ -135,7 +135,7 @@ tests:
transform: rotate(-80deg);
z-index: -2222;
}
.left-feet {
top: 85%;
left: 25%;
@ -146,7 +146,7 @@ tests:
transform: rotate(80deg);
z-index: -2222;
}
.right-eye {
top: 45%;
left: 60%;
@ -155,7 +155,7 @@ tests:
height: 17%;
border-radius: 50%;
}
.left-eye {
top: 45%;
left: 25%;
@ -164,7 +164,7 @@ tests:
height: 17%;
border-radius: 50%;
}
.sparkle {
top: 25%;
left: 15%;
@ -173,7 +173,7 @@ tests:
height: 35%;
border-radius: 50%;
}
.blush-right {
top: 65%;
left: 15%;
@ -182,7 +182,7 @@ tests:
height: 10%;
border-radius: 50%;
}
.blush-left {
top: 65%;
left: 70%;
@ -191,7 +191,7 @@ tests:
height: 10%;
border-radius: 50%;
}
.beak-top {
top: 60%;
left: 40%;
@ -200,7 +200,7 @@ tests:
height: 10%;
border-radius: 50%;
}
.beak-bottom {
top: 65%;
left: 42%;
@ -209,7 +209,7 @@ tests:
height: 10%;
border-radius: 50%;
}
.penguin * {
position: absolute;
}