Reset and Submit buttons did not work in events

Everything is ok but i can’t run this task please revert

Form Event Attributs
	function changeBackground(){ document.body.style.background= "pink";
	
		}
	function changeBorder(){ document.body.style.border="10px solid";
    }


	function changeBackgroundOnSubmit(){ document.body.style.background= alert();


	} 


</script>
<body
<form action="" method="" onreset="changeBackground()" onsubmit="changeBackgroundOnSubmit();">





	<label>First Name: </label><input type="text" name="first name" onblur=""><br><br>
	
	<!--<label>Last Name: </label><input type="text" name="last name" onfocus="changeBackground()"><br><br>-->


	<label>Last Name: </label><input type="text" name="last name" ><br><br>

	<!--<label>Email: </label><input type="text" name="email" oninput="changeBorder()"><br><br>-->


	<label>Email: </label><input type="email" name="email" oninvalid="changeBorder()"><br><br>

	<input type="reset" name="Reset"><br><br>
			
	

	<input type="submit" name="Submit">


	</form>