5. I'm confused


#1
/*var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = Math.random();
if (computerChoice < 0.34) {
	computerChoice = "rock";
} else if(computerChoice <= 0.67) {
	computerChoice = "paper";
} else {
	computerChoice = "scissors";
} console.log("Computer: " + computerChoice);*/

It says it was turned into a comment but isn't a javascript comment:
//this is a comment
not:
/*this is a comment*/
that is a css comment but it works :scream:
I think it is a typo in the lesson


#2

JavaScript has multiple ways to comment. // is a single line comment, meaning it ends at the end of the line. /* on the other hand is a multi-line comment, meaning that it doesn't end until the */.

More on JavaScript comments


#3

ok; but one more thing I got annoyed so I tryed doing nothing and it worked all the way to the end of the lesson please explain!!!!! :tophat: