Open sheleoni opened 9 months ago
basic drag and drop done at https://github.com/sheleoni/icecream-kana-game/pull/84
multiple drag and drop done at https://github.com/sheleoni/icecream-kana-game/pull/85
maybe the next step is to attach the object _id
to the iceCream collection array and delete it from the iceCreamCollection array when the user has dragged it in to the dump. Or, without the _id
, just identify the ice-cream by its name
property and delete the corresponding quantity from the iceCreamCollection
after dragging into drag area and pressing some form of submit
research what libraries also try to learn how drag and drop works in vanilla JS
Steps
Possible difficulties
Documenting the possible libraries / drag and drop approaches in the comments