From 62059eeb3b3d69778638c879aa64c75c0534014e Mon Sep 17 00:00:00 2001 From: Kristofer Koishigawa Date: Thu, 6 Dec 2018 00:22:41 +0900 Subject: [PATCH] fix(challenges): YAMLException warning (#34544) --- .../adjust-the-background-color-property-of-text.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/adjust-the-background-color-property-of-text.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/adjust-the-background-color-property-of-text.english.md index c75131dbea..e2978affa1 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/adjust-the-background-color-property-of-text.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/adjust-the-background-color-property-of-text.english.md @@ -24,7 +24,7 @@ Also for the h4, remove the height property and add background-color property to the h4 element set to rgba(45, 45, 45, 0.1). + - text: Your code should add a background-color property to the h4 element set to rgba(45, 45, 45, 0.1). testString: assert(code.match(/(background-color|background):\s*?rgba\(\s*?45\s*?,\s*?45\s*?,\s*?45\s*?,\s*?0?\.1\s*?\);/gi), 'Your code should add a background-color property to the h4 element set to rgba(45, 45, 45, 0.1). Be sure to use a ; after your property declaration.'); - text: Your code should add a padding property to the h4 element and set it to 10 pixels. testString: assert($('h4').css('padding-top') == '10px' && $('h4').css('padding-right') == '10px' && $('h4').css('padding-bottom') == '10px' && $('h4').css('padding-left') == '10px', 'Your code should add a padding property to the h4 element and set it to 10 pixels.');