Lesson 4 rock paper scissors please help


#1

Lesson 4 pt 2

SyntaxError: Unexpected token '<'

please help, thank you so much

var userChoice = prompt ("Do you choose Rock, Paper , or Scissors?");
var computerChoice =  Math.random();
if (computerChoice =< 0.33)
{ computerChoice = (Rock);}
else if (computerChoice >= 0.34 && computerChoice =< 0.66)
{ computerChoice = (Paper);}
else ( computerChoice =< 0.67 && computerChoice >= 1)
{ computerChoice = (Scissors);}


#2

the less than sign goes before the equal mark


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.