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:
@ -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.
|
You should import the `Lobster` font.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(new RegExp('googleapis', 'gi').test(code));
|
assert($('link[href*="googleapis" i]').length);
|
||||||
```
|
```
|
||||||
|
|
||||||
Your `h2` element should use the font `Lobster`.
|
Your `h2` element should use the font `Lobster`.
|
||||||
|
Reference in New Issue
Block a user