fix(curriculum): clarify option count in weather app hint (#69282)

This commit is contained in:
majestic-owl448
2026-08-06 01:11:19 +02:00
committed by GitHub
parent f0a7d3a4a0
commit 5f220bb865
@@ -333,7 +333,7 @@ assert.strictEqual(
);
```
Inside the `select` element there should be 6 `option` elements, one for each of the following cities: Paris, London, Tokyo, Los Angeles, Chicago, New York.
In addition to the empty first option, the `select` element should contain 6 `option` elements, one for each of the following cities: Paris, London, Tokyo, Los Angeles, Chicago, New York.
```js
['Paris', 'London', 'Tokyo', 'Los Angeles', 'Chicago', 'New York'].forEach(
@@ -342,7 +342,7 @@ Inside the `select` element there should be 6 `option` elements, one for each of
`select > option[value="${city.toLowerCase()}"]`
);
assert.exists(el);
assert.strictEqual(el.innerText.trim(), city);
assert.strictEqual(el.textContent.trim(), city);
}
);
```