Rodk paper scissors #3 computer choice part 1


#1

My code, what is wrong?

var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = Math.random();
console.log("computerChoice");

OUTCOME:
Oops, try again. Did you remember to log computerChoice to the console?


#2

Writing quotes around text turns it into a string literal. To have the program recognize the variable, do not enclose in quotes.

console.log(computerChoice);

#3

thank you!LO26
P Please consider the environment before printing this email


#4

Not sure what you are saying, here.


#5

Nothing to worry about. I use a Pine Tree emoji with the caption "Please consider the environment before printing out this email" as a signature. that's all.LO26
P Please consider the environment before printing this email


#6

Recommend not using a signature in forum posts. We are addressing strangers. No familiarity is implied. This is not personal correspondence.