fix(curriculum): article typo (#59233)

This commit is contained in:
Supravisor
2025-03-13 18:29:06 +13:00
committed by GitHub
parent fa9f5a7ca6
commit f4d6683adb
5 changed files with 5 additions and 5 deletions

View File

@@ -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>/);

View File

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

View File

@@ -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:

View File

@@ -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!";

View File

@@ -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>/);