I'll try my best to describe the problem I have, it's a bit technical. I'm doing the password generator solo project, and I seem to have made it work (thankfully). But I need the text fields to clear when I press the "Generate passwords" again. Right now the randomly generated passwords are just stacked on top of each other each time I press the button. I've tried to search for it online but it seems too technical.
Codepen link:
https://codepen.io/ifeoluwa-medeyinlo/pen/zYJNLqG
Thanks.