Thats not working in my laptop help me in that?

Key Events function keyDown(){ document.body.style.background="lightgreen"; }
		function keyPress(){
			document.body.style.background ="yellow"
		}
		function KeyUp()
		{
			document.body.style.background ="red";

	</script>


</title>
<form action=""  > 
	<label>First Name: </label>
	<input type="text" name="firstname" onkeydown="keydown();"><br><br>
	<label>Last Name</label>
	<input type="text" name="lstname" onkeypress="keyPress()"><br><br>
	<label>Last Name</label>
	<input type="text " name="lastname" onkeyup="KeyUp()";>



</form>