fix(curriculum): add extra hint for anchor elements test in travel agency lab (#58421)

This commit is contained in:
AnanduA-6 2025-01-28 05:49:09 +05:30 committed by GitHub
parent c807c128aa
commit 1dec233850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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');