diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md index a788aaf54d..a946db2393 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md @@ -40,7 +40,7 @@ Import the `Lobster` font to your web page. Then, use an element selector to set You should import the `Lobster` font. ```js -assert(new RegExp('googleapis', 'gi').test(code)); +assert($('link[href*="googleapis" i]').length); ``` Your `h2` element should use the font `Lobster`.