Reference error??
I keep getting a reference error. I have document.write in my code and I get an error 'document is not defined"? With a little carrot under the "d" Any ideas?? function main() { var themeNumber = parseInt(readLine(), 2) /* 1 - Light 2 - Dark 3 - Nocturne 4 - Terminal 5 - Indigo */ // Your code here switch(themeNumber) { case 1: document.write ("Light"); break; case 2: document.write("Dark"); break; case 3: document.write ("Nocturnal"); break; case 4: document.write ("Terminal"); break; case 5: document.write ("Indigo"); break; default: document.write ("wtf"); break; } }