From ffcb092bf16175597a17d0a5d056872b26c9c874 Mon Sep 17 00:00:00 2001 From: Catalina Date: Sat, 20 Apr 2019 12:49:23 -0400 Subject: [PATCH] Fixed CSS Challenge English version (#35849) --- .../understand-absolute-versus-relative-units.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/understand-absolute-versus-relative-units.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/understand-absolute-versus-relative-units.english.md index fdf6417b28..1053164a29 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/understand-absolute-versus-relative-units.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/understand-absolute-versus-relative-units.english.md @@ -26,7 +26,7 @@ tests: - text: Your red-box class should have a padding property. testString: assert($('.red-box').css('padding-top') != '0px' && $('.red-box').css('padding-right') != '0px' && $('.red-box').css('padding-bottom') != '0px' && $('.red-box').css('padding-left') != '0px', 'Your red-box class should have a padding property.'); - text: Your red-box class should give elements 1.5em of padding. - testString: assert(code.match(/\.red-box\s*?{\s*?.*?\s*?.*?\s*?padding:\s*?1\.5em/gi), 'Your red-box class should give elements 1.5em of padding.'); + testString: assert(code.match(/\.red-box\s*?{(\s|.)*?padding:\s*?1\.5em/gi), 'Your red-box class should give elements 1.5em of padding.'); ```