javascript set input value to empty with textContent code example
Example: how to make input field empty in javascript
Assuming the element you want to change has the id question, so you can do
document.getElementById("question").value = "";
Assuming the element you want to change has the id question, so you can do
document.getElementById("question").value = "";