Javascript – How to create an HTML element that can input texts as well as images from users – then store it in a Mongodb database

I am building a project based on “Question and Answer” theme and wish for the Client to input an answer where he can type as well as store or drag images.
Along with that, I want to store that answer in a Mongodb Database and retrieve it whenever desired.

I am using the Node.js run-time environment and Mongoose package to write my Javascript Code.