From dfe80470c6695aa14086f4c9800b0beeb306a02f Mon Sep 17 00:00:00 2001 From: Seth Falco Date: Wed, 2 Jun 2021 22:38:21 +0200 Subject: [PATCH] fix: require a link element in html (#42336) * fix: require a link element in html Co-authored-by: Oliver Eyton-Williams --- .../01-responsive-web-design/basic-css/import-a-google-font.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`.