Skip to content

Commit 7b82835

Browse files
fix(curriculum): change travel agency lab test to allow different solution (freeCodeCamp#57894)
Co-authored-by: Ilenia <[email protected]>
1 parent 329eba0 commit 7b82835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

curriculum/challenges/english/25-front-end-development/lab-travel-agency-page/669e2f60e83c011754f711f9.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ for (let e of listItems) {
159159
The anchor element of your first list item should wrap the text `Group Travels`.
160160
161161
```js
162-
assert.equal(document.querySelectorAll('a')[0]?.innerText, 'Group Travels');
162+
assert.equal(document.querySelectorAll('li > a')[0]?.innerText, 'Group Travels');
163163
```
164164
165165
The anchor element of your second list item should wrap the text `Private Tours`.
166166
167167
```js
168-
assert.equal(document.querySelectorAll('a')[1]?.innerText, 'Private Tours');
168+
assert.equal(document.querySelectorAll('li > a')[1]?.innerText, 'Private Tours');
169169
```
170170
171171
You should have an `h2` element after your unordered list.

0 commit comments

Comments
 (0)