fix: require a link element in html (#42336)

* fix: require a link element in html

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Seth Falco
2021-06-02 22:38:21 +02:00
committed by GitHub
parent f7ca9796c1
commit dfe80470c6

View File

@ -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`.