Using forms in Codepen

I’m working on a simple project to practice Javascript. I want to make a reset button. It appears that Codepen won’t let you use the <form> tag to simply make a reset button. I tried to use some Javascript:

function reset() { document.getElementById("reset").reset();}

Does the Javascript need the form tag, too? Is there a way to use forms in Codepen?

Thank you!

Reset works fine??

As @DanCouper showed reset works so you need to show more code to reveal the problem.

Thanks for helping. The game works fine with no form tags. But if I use form tags, it stops working and I get a bad path error message.

Edit to fix link

https://codepen.io/CodeCheryl/pen/OJMGvyq

We need to see the code. I assume you have an HTML typo on one of the buttons and they try to submit the form, but it’s impossible to tell. Also are you literally just trying to put the value of the select back to the first value?