Drag and Drop File Upload Lab
To achieve this, you will follow these steps:
- Create a div with
idattribute 'drop-zone' to enclose the area designated for drag and drop functionality.
- Style the drop-zone using CSS, giving it a dotted border, center-aligned text, and appropriate padding.
- The 'drop' event listener should prevent the default action and display the name(s) of uploaded file(s) in the console.