How do I reset the value inside an input box?

I am trying to make a quiz in p5.js where the user types the answer in an input box and then submits it using a button. The question changes to a different one if the user has the right answer, but I cannot find out how to make the input box reset so that it has no text in it.

Sign In or Register to comment.