From 5f220bb865b7e857729f9e79d04e78a3ceb37294 Mon Sep 17 00:00:00 2001 From: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com> Date: Thu, 6 Aug 2026 01:11:19 +0200 Subject: [PATCH] fix(curriculum): clarify option count in weather app hint (#69282) --- .../blocks/lab-weather-app/66f12a88741aeb16b9246c59.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/blocks/lab-weather-app/66f12a88741aeb16b9246c59.md b/curriculum/challenges/english/blocks/lab-weather-app/66f12a88741aeb16b9246c59.md index 1abe0a7a4ef..830cc1e024a 100644 --- a/curriculum/challenges/english/blocks/lab-weather-app/66f12a88741aeb16b9246c59.md +++ b/curriculum/challenges/english/blocks/lab-weather-app/66f12a88741aeb16b9246c59.md @@ -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); } ); ```