mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-13 16:04:36 -04:00
fix: Fixed typos for 'self closing link element' in multiple files (#46789)
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user