You should be able to be redirected to https://phparea.com/blog/how-to-clear-multiple-user-inputs-in-javascript.