I created a user-friendly drag and drop zone for uploading multiple files. Users can simply drag their files into the designated drop area and see the file names displayed there. However, I encountered an issue where hiding the standard "Choose file" button using CSS also hides the file names. As a beginner, I'm seeking a simple solution to fix this problem. Thank you!
HTML:
<div class="drop-area">
<span class= "drop-area__prompt">Drag Files Here</span>
<input type="file" name="myFile" class= "drop-area__input">
</div>
CSS:
.drop-area__input{
display:none;
}