From 9237d61f89177d3fff6fa563dee01bd3e12749c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giftea=20=E2=98=95?= Date: Fri, 12 Sep 2025 12:20:06 +0100 Subject: [PATCH] fix(curriculum): Add select value example to step 9 (#62163) Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> --- .../67211aa4a8959cc122dfa0bb.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/curriculum/challenges/english/blocks/workshop-music-instrument-filter/67211aa4a8959cc122dfa0bb.md b/curriculum/challenges/english/blocks/workshop-music-instrument-filter/67211aa4a8959cc122dfa0bb.md index de2345905ed..0daafe4a17a 100644 --- a/curriculum/challenges/english/blocks/workshop-music-instrument-filter/67211aa4a8959cc122dfa0bb.md +++ b/curriculum/challenges/english/blocks/workshop-music-instrument-filter/67211aa4a8959cc122dfa0bb.md @@ -7,7 +7,14 @@ dashedName: step-9 # --description-- -Modify your `console.log` call to log the selected value from the dropdown. +Modify your `console.log` call to log the selected value from the dropdown. + +You can access the current value of a `select` element using its `.value` property. For example: + +```js +const selectEl = document.querySelector("select"); +const selectValue = selectEl.value; +``` # --hints--