I want to create a drag and drop upload option in by website. I want to configure a div…
Private research annotation
Sign in to add a private research label or note.
- User
I want to create a drag and drop upload option in by website. I want to configure a div that would accept files for upload
- Assistant
Sure! Here's a basic example of how you can create a drag and drop file upload option using HTML, CSS, and JavaScript:
HTML:
html<div id="drop-area"> <div class="text">Drag and drop files here or click to select files</div> <input type="file" id="file-input" multiple> </div>