mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-25 14:01:29 -05:00
fix(curriculum): missing word and backticks
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user