Im trying to figure out on my own how to loop this entire code so that once user is finished recieving the alert, the entire code loops back to the beginning and asks for another input and you could thoretically do this forever bu running the switch statement again and again without having to refresh the page.
Im just doing this for fun so that I can better understand JS. I figured that this would be an easy tweak and I could figure out how to loop this on my own but everything I try breaks the code. Why is something so simple so unintuitive? can you help me loop this code so I can see how this works?
Thanks for any help.