chore(curriculum): add backticks for alt attribute value (#59828)

This commit is contained in:
Supravisor
2025-04-21 16:20:16 +12:00
committed by GitHub
parent 9b539eefc7
commit 22f251ebd8

View File

@@ -33,7 +33,7 @@ Your `img` element does not have an `alt` attribute. Check that there is a space
assert(document.querySelector('img').hasAttribute('alt'));
```
Your `img` element's `alt` attribute value is set to something other than 'A cute orange cat lying on its back'. Make sure the `alt` attribute's value is surrounded with quotation marks.
Your `img` element's `alt` attribute value is set to something other than `A cute orange cat lying on its back`. Make sure the `alt` attribute's value is surrounded with quotation marks.
```js
const altText = document