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 873b90f9fe..c75131dbea 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,8 +24,8 @@ 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). - testString: assert(code.match(/background-color:\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).'); + - 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.'); - text: The height property on the h4 element should be removed.