I'm fairly new to JavaScript and I need a bit of help.
I've searched for a while on this topic and couldn't find anything. I'm creating a random quote generator and I need to make it so that the user can pick from a radio input ranging from 1 to 5.
So my question is, can I somehow connect radio buttons with switch statements in JS, so when the user for example picks "one" and then submits, he gets one quote displayed on the screen? This needs to be done only with JavaScript, so no Jquery