I am a newbie who is aspiring to develop cool stuff one day. Right now, i am still really green and read the dummy manual. Please help me and i will really appreciate it a lot.
While doing one of the exercises, switch function, i cant seem to get it activated.
The code is as follows. I used alert function to test variable, die. Thus, i guess the main problem got to be the switch statements.
var die = Math.ceil(Math.random() * 6);
var output = "";
output = "I";
output = "II";
output = "III";
output = "IV"
output = "V";
output = "VI";
output = "PROBLEM!";