diff --git a/challenges/01-responsive-web-design/applied-visual-design.json b/challenges/01-responsive-web-design/applied-visual-design.json
index 401da790d..dc9dcda65 100644
--- a/challenges/01-responsive-web-design/applied-visual-design.json
+++ b/challenges/01-responsive-web-design/applied-visual-design.json
@@ -2637,25 +2637,25 @@
"text":
"The background-color
property of the heart:after
selector should be pink.",
"testString":
- "assert(code.match(/\\.heart:after\\s*?{\\s*?background-color:\\s*?pink;/gi), 'The background-color
property of the heart:after
selector should be pink.');"
+ "assert(code.match(/\\.heart:after\\s*?{\\s*?background-color\\s*?:\\s*?pink\\s*?;/gi), 'The background-color
property of the heart:after
selector should be pink.');"
},
{
"text":
"The border-radius
of the heart:after
selector should be 50%.",
"testString":
- "assert(code.match(/border-radius:\\s*?50%/gi).length == 2, 'The border-radius
of the heart:after
selector should be 50%.');"
+ "assert(code.match(/border-radius\\s*?:\\s*?50%/gi).length == 2, 'The border-radius
of the heart:after
selector should be 50%.');"
},
{
"text":
"The transform
property for the heart
class should use a rotate()
function set to -45 degrees.",
"testString":
- "assert(code.match(/transform:\\s*?rotate\\(-45deg\\)/gi), 'The transform
property for the heart
class should use a rotate()
function set to -45 degrees.');"
+ "assert(code.match(/transform\\s*?:\\s*?rotate\\(\\s*?-45deg\\s*?\\)/gi), 'The transform
property for the heart
class should use a rotate()
function set to -45 degrees.');"
},
{
"text":
"The content
of the heart:before
selector should be an empty string.",
"testString":
- "assert(code.match(/\\.heart:before\\s*?{\\s*?content:\\s*?(\"|')\\1;/gi), 'The content
of the heart:before
selector should be an empty string.');"
+ "assert(code.match(/\\.heart:before\\s*?{\\s*?content\\s*?:\\s*?(\"|')\\1\\s*?;/gi), 'The content
of the heart:before
selector should be an empty string.');"
}
],
"solutions": [],