mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): add missing closing backticks to a block in review-javascript (#66617)
This commit is contained in:
+2
@@ -29,6 +29,7 @@ dashedName: review-javascript-audio-and-video
|
||||
audio.play();
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
@@ -55,6 +56,7 @@ dashedName: review-javascript-audio-and-video
|
||||
});
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
|
||||
@@ -3191,6 +3191,7 @@ console.log(date.toLocaleDateString("en-GB", options)); // "Wednesday, 15 Octobe
|
||||
audio.play();
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
|
||||
@@ -24,12 +24,14 @@ dashedName: review-js-a11y
|
||||
btn.setAttribute("aria-expanded", String(!expanded));
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
- **`aria-haspopup` attribute**: This state is used to indicate that an interactive element will trigger a pop-up element when activated. You can only use the `aria-haspopup` attribute when the pop-up has one of the following roles: `menu`, `listbox`, `tree`, `grid`, or `dialog`. The value of `aria-haspopup` must be either one of these roles or `true`, which is the same as `menu`.
|
||||
|
||||
:::interactive_editor
|
||||
|
||||
```html
|
||||
<button
|
||||
id="menubutton"
|
||||
@@ -328,4 +330,3 @@ Here is an example of a live region that is dynamically updated by JavaScript:
|
||||
# --assignment--
|
||||
|
||||
Review the JavaScript and Accessibility topics and concepts.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user