mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-12 19:00:43 -04:00
fix(curriculum): article typo (#59233)
This commit is contained in:
@@ -21,7 +21,7 @@ Your code should have two `link` elements.
|
||||
assert.strictEqual(document.querySelectorAll('link').length, 2);
|
||||
```
|
||||
|
||||
Your `link` elements should be void elements, they should not have a end tag `</link>`.
|
||||
Your `link` elements should be void elements, they should not have an end tag `</link>`.
|
||||
|
||||
```js
|
||||
assert.notMatch(code, /<\/link>/);
|
||||
|
||||
@@ -33,7 +33,7 @@ This word means one more or an extra thing. This word is capitalized.
|
||||
|
||||
### --feedback--
|
||||
|
||||
This word is part of a expression that means something is making Tom upset or annoyed.
|
||||
This word is part of an expression that means something is making Tom upset or annoyed.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ The `aria-expanded` attribute is used for accessibility purposes to indicate if
|
||||
|
||||
The information provided by `aria-expanded` allows people using screen readers to understand the current state of the control (whether it is expanded or collapsed).
|
||||
|
||||
The `aria-expanded` attribute is applied to the interactive element that toggles the visibility of a collapsible widget. For example, if a button toggles a expandable menu, the `aria-expanded` attribute is placed on the button.
|
||||
The `aria-expanded` attribute is applied to the interactive element that toggles the visibility of a collapsible widget. For example, if a button toggles an expandable menu, the `aria-expanded` attribute is placed on the button.
|
||||
|
||||
When the menu is expanded, the `aria-expanded` attribute should be set to `true` like in this example:
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ Here's the basic syntax:
|
||||
string.includes(searchValue);
|
||||
```
|
||||
|
||||
For the syntax, the `searchValue` is the substring you want to look for within the string. And here's a example:
|
||||
For the syntax, the `searchValue` is the substring you want to look for within the string. And here's an example:
|
||||
|
||||
```js
|
||||
let phrase = "JavaScript is awesome!";
|
||||
|
||||
@@ -21,7 +21,7 @@ Your code should have two `link` elements.
|
||||
assert.strictEqual(document.querySelectorAll('link').length, 2);
|
||||
```
|
||||
|
||||
Your `link` elements should be void elements, they should not have a end tag `</link>`.
|
||||
Your `link` elements should be void elements, they should not have an end tag `</link>`.
|
||||
|
||||
```js
|
||||
assert.notMatch(code, /<\/link>/);
|
||||
|
||||
Reference in New Issue
Block a user