mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-11 04:01:15 -04:00
chore(curriculum): add backticks for alt attribute value (#59828)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user