diff --git a/challenges/01-responsive-web-design/applied-visual-design.json b/challenges/01-responsive-web-design/applied-visual-design.json
index 43b171d39b..123724e7e0 100644
--- a/challenges/01-responsive-web-design/applied-visual-design.json
+++ b/challenges/01-responsive-web-design/applied-visual-design.json
@@ -2237,7 +2237,7 @@
{
"text": "The color stop at 0 pixels should be yellow
.",
"testString":
- "assert(code.match(/yellow\\s+?0px/gi), 'The color stop at 0 pixels should be yellow
.');"
+ "assert(code.match(/yellow\\s+?0(px)?/gi), 'The color stop at 0 pixels should be yellow
.');"
},
{
"text": "One color stop at 40 pixels should be yellow
.",
@@ -2925,7 +2925,7 @@
"text":
"The @keyframes
rule for 0%
should use the left
offset of 0px.",
"testString":
- "assert(code.match(/0%\\s*?{\\s*?background-color:\\s*?blue;\\s*?top:\\s*?0px;\\s*?left:\\s*?0px;\\s*?}/gi), 'The @keyframes
rule for 0%
should use the left
offset of 0px.');"
+ "assert(code.match(/0%\\s*?{\\s*?background-color:\\s*?blue;\\s*?top:\\s*?0(px)?;\\s*?left:\\s*?0(px)?;\\s*?}/gi), 'The @keyframes
rule for 0%
should use the left
offset of 0px.');"
},
{
"text":
@@ -2937,7 +2937,7 @@
"text":
"The @keyframes
rule for 100%
should use the left
offset of -25px.",
"testString":
- "assert(code.match(/100%\\s*?{\\s*?background-color:\\s*?yellow;\\s*?top:\\s*?0px;\\s*?left:\\s*?-25px;\\s*?}/gi), 'The @keyframes
rule for 100%
should use the left
offset of -25px.');"
+ "assert(code.match(/100%\\s*?{\\s*?background-color:\\s*?yellow;\\s*?top:\\s*?0(px)?;\\s*?left:\\s*?-25px;\\s*?}/gi), 'The @keyframes
rule for 100%
should use the left
offset of -25px.');"
}
],
"solutions": [],