- To start you can use
live server
- Create an
extended selection
-
HTML code should have only one
<select>
tag and nested<option>
tags, the rest is added in JS -
It should be possible to preset the selected default values, via selected attribute on
<option>
tag -
It should be possible to attach a
change
event handler to the<select>
, egselect.addEventListener (“change”, e => alert (e.target.value))
-
It should be possible to create 2 or more selections on the page, which will be work independently
- Allowed to use
JavaScript
together withTypeScript
React
/Vue
/Angular
is not allowed