<!DOCTYPE html>
<html>
<head>
	<link rel='stylesheet' href='style.css'/>
</head>
<body>
<p></p>testing values from Q&A <a href="http://www.codecademy.com/forum_questions/521d2027f10c6051bb001e07#comment-54b4a1a995e37897a600154b">http://www.codecademy.com/forum_questions/521d2027f10c6051bb001e07#comment-54b4a1a995e37897a600154b</a></p>
<p>From <a href="http://www.codecademy.com/users/chipace73960">http://www.codecademy.com/users/chipace73960</a></p><br/><br/>
	<script src='script.js'></script>

</body>
</html>

// try various numbers here to see what your result is
var computerChoice = 0.7;

document.write(computerChoice);

if (computerChoice = 0,0.33) { 
    computerChoice="rock";
} else if (computerChoice < 0.66) { 
    computerChoice="paper";
} else { 
    computerChoice="scissors";
};
    
document.write(" gives us ", computerChoice, "<br>")
Created from scratch
3 forks
17 views

Browse more Codebits