diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/specify-how-fonts-should-degrade.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/specify-how-fonts-should-degrade.english.md index 6f5e8dafd9..7e19d87767 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/specify-how-fonts-should-degrade.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/specify-how-fonts-should-degrade.english.md @@ -30,7 +30,7 @@ tests: testString: 'assert($("h2").css("font-family").match(/^"?lobster/i), "Your h2 element should use the font Lobster.");' - text: Your h2 element should degrade to the font monospace when Lobster is not available. testString: 'assert(/\s*h2\s*\{\s*font-family\:\s*(\"|")?Lobster(\"|")?,\s*monospace\s*;\s*\}/gi.test(code), "Your h2 element should degrade to the font monospace when Lobster is not available.");' - - text: 'Comment out your call to Google for the Lobster font by putting <!-- in front of it.' + - text: 'Comment out your call to Google for the Lobster font by putting <-- in front of it.' testString: 'assert(new RegExp("", "gi").test(code), "Be sure to close your comment by adding -->.");'