I am building a web application that will allow users to take a photograph with the builtin camera and upload the photo to the application, which will store the photo in memory. Currently, I am using the line of code below to capture and upload the photo.
<input type="file" accept="image/*">
How do I store the image in localStorage
? Is there any way to implement this feature in Javascript within the HTML?