fix(curriculum): add missing closing backticks to a block in review-javascript (#66617)

This commit is contained in:
DanielRosa74
2026-03-25 07:54:40 -03:00
committed by GitHub
parent 623e49bf83
commit 067aef7646
3 changed files with 5 additions and 1 deletions
@@ -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.