How to make selectable list over items like folder in file-managers?

I have more than 50 list elements which are in unordered list and I want the following action to happen: If user clicks on element highlight it with blue color.
  • If item is selected output it in a div element
  • If you press delete key, It is automatically removed on list.
Please show me what you got!

»Javascript @anonymous4

» No answer  » 40 views   

Add photos

Back to top

[SHARE THIS POST]: The post's archived Spread it to others!

Posted under this donnektish »
This community is about sharing contents such as questions and answers discussing about Javascript and TypeScript, ES5, ES6
71 people joined this donnektish

Maintain social distancing, to avoid Covid19