fix: Fixed typos for 'self closing link element' in multiple files (#46789)

This commit is contained in:
Nathan Bisson
2022-07-07 10:09:44 -04:00
committed by GitHub
parent ba6de5a8ef
commit b1a2310ccc
7 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ You should not change your existing `head` element. Make sure you did not delete
assert($('head').length === 1);
```
You should have a one a self-closing `link` element.
You should have one self-closing `link` element.
```js
const link = document.querySelectorAll('link');

View File

@@ -139,7 +139,7 @@ Your code should have a `link` element.
assert.match(code, /<link/)
```
You should have a one a self-closing `link` element.
You should have one self-closing `link` element.
```js
assert(document.querySelectorAll('link').length === 1);

View File

@@ -13,7 +13,7 @@ Nest a `link` element within the `head`. Give it a `rel` attribute set to `style
# --hints--
You should have a one a self-closing `link` element.
You should have one self-closing `link` element.
```js
assert(document.querySelectorAll('link').length === 1);

View File

@@ -63,7 +63,7 @@ const heads = document.querySelectorAll('head');
assert.equal(heads?.length, 1);
```
You should have a one a self-closing `link` element.
You should have one self-closing `link` element.
```js
assert(document.querySelectorAll('link').length === 1);

View File

@@ -51,7 +51,7 @@ const heads = document.querySelectorAll('head');
assert.equal(heads?.length, 1);
```
You should have a one a self-closing `link` element.
You should have one self-closing `link` element.
```js
assert(document.querySelectorAll('link').length === 1);

View File

@@ -20,7 +20,7 @@ Your code should have a `link` element.
assert.match(code, /<link/)
```
You should have a one a self-closing `link` element.
You should have one self-closing `link` element.
```js
assert(document.querySelectorAll('link').length === 1);

View File

@@ -24,7 +24,7 @@ const heads = document.querySelectorAll('head');
assert.equal(heads?.length, 1);
```
You should have a one a self-closing `link` element.
You should have one self-closing `link` element.
```js
assert(document.querySelectorAll('link').length === 1);