mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): add extra hint for anchor elements test in travel agency lab (#58421)
This commit is contained in:
parent
c807c128aa
commit
1dec233850
@ -247,7 +247,7 @@ for (let image of images) {
|
||||
}
|
||||
```
|
||||
|
||||
Each `a` element should have an `href` attribute with the value of `https://www.freecodecamp.org/learn`.
|
||||
Each `a` element should have an `href` attribute with the value of `https://www.freecodecamp.org/learn`. Don't forget the links in the list items.
|
||||
|
||||
```js
|
||||
const anchors = document.querySelectorAll('a');
|
||||
@ -257,7 +257,7 @@ for (let anchor of anchors) {
|
||||
}
|
||||
```
|
||||
|
||||
Each `a` element should have a `target` attribute with the value of `_blank`.
|
||||
Each `a` element should have a `target` attribute with the value of `_blank`. Don't forget the links in the list items.
|
||||
|
||||
```js
|
||||
const anchors = document.querySelectorAll('a');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user