mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
fix(curriculum): missing word and backticks
This commit is contained in:
parent
668c7225fc
commit
2bebb92189
@ -27,7 +27,7 @@ Your anchor (`a`) element does not have a `target` attribute. Check that there i
|
||||
assert(document.querySelector('a').hasAttribute('target'));
|
||||
```
|
||||
|
||||
The value of the `target` attribute should '\_blank'. You have either omitted the value or have a typo. Remember that attribute values should be surrounded with quotation marks.
|
||||
The value of the `target` attribute should be `\_blank`. You have either omitted the value or have a typo. Remember that attribute values should be surrounded with quotation marks.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('a').getAttribute('target') === '_blank');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user