Math.random error
<p>When I run the following code this error occurs:</p>

<blockquote>
  <p>Oops, try again. 
  Did you use Math.random() to get a random number?</p>
</blockquote>

<p>Using:</p>

<blockquote>
  <p>declare a variable and make it equal to Math.random(), that variable will equal a number between 0 and 1</p>
</blockquote>

<pre><code>var userChoice = prompt("Do you choose rock,paper or scissors ?");
var computerChoice = Math.random();

console.log (computerChoice);

if (computerChoice &lt; 0.29) {
    computerChoice = 'rock';
} else if (computerChoice &gt; 0.30 &amp;&amp; computerChoice &lt; 0.60) {
    computerChoice = 'paper';
} else {
    computerChoice = 'scissors';
}  
</code></pre>
