Skip to content

alkhimenok/extended-selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

extended-selection

Demo

Web-Desing

Getting started:

  • To start you can use live server

Techmical task:

  • Create an extended selection

Nuances:

  • 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>, eg select.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

Technologies:

  • Allowed to use JavaScript together with TypeScript
  • React / Vue / Angular is not allowed