fix(curriculum): Add select value example to step 9 (#62163)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
Giftea ☕
2025-09-12 12:20:06 +01:00
committed by GitHub
parent a0ba205484
commit 9237d61f89
@@ -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--