So I am up to 10.5 - the instructions are to add logical operators (&& or ||) to the code quiz I have been writing. My question is not how the operators work, but how I can use them in my quiz.
This is what I wrote. So far, everything is working.
var user = prompt("What's on the boob tube? What geek TV show do you want to watch tonight?").toLowerCase();
case 'GAME OF THRONES':
console.log("No! I haven't read the latest book. NO SPOILERS!!");
case 'DOCTOR WHO':
console.log("Doctor Who without David Tenant should just.not.exist!");
case 'THE WALKING DEAD':
console.log("Ugh! That show is gross AND boring in equal measures!");
case 'STAR TREK':
console.log("Star Trek is soooo 20th century.")
case 'THE VAMPIRE DIARIES':
console.log("Do I LOOK like a 13 year old emo kid??");
console.log("Huh? I never even heard of that show...");
But I'm stumped as to how I could use a logical operator in the quiz itself. All my questions are basic call/responses. The suggestion in the tutorial couldn't work in this quiz. I don't want to have to rewrite a whole new program at this point. Any suggestions?