5. build rock


what is the problema here???'

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"



It seems like you have an unnecessary . in your code in line 3


If anything, it should be a semi-colon. Should you correct that your code should execute correctly.


Hi, notes are above.


This is a copy of my previous code. You will not need the /* in front or after the code though. /* just makes this a comment. If that makes sense. Hope this helped!