mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): change travel agency lab test to allow different solution (#57894)
Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -159,13 +159,13 @@ for (let e of listItems) {
|
||||
The anchor element of your first list item should wrap the text `Group Travels`.
|
||||
|
||||
```js
|
||||
assert.equal(document.querySelectorAll('a')[0]?.innerText, 'Group Travels');
|
||||
assert.equal(document.querySelectorAll('li > a')[0]?.innerText, 'Group Travels');
|
||||
```
|
||||
|
||||
The anchor element of your second list item should wrap the text `Private Tours`.
|
||||
|
||||
```js
|
||||
assert.equal(document.querySelectorAll('a')[1]?.innerText, 'Private Tours');
|
||||
assert.equal(document.querySelectorAll('li > a')[1]?.innerText, 'Private Tours');
|
||||
```
|
||||
|
||||
You should have an `h2` element after your unordered list.
|
||||
|
||||
Reference in New Issue
Block a user