Anonymous Anonymous - 19 days ago
141 0

Class task - validation task incomplete

HTML

AS D 2016 - validation incomplete

<!DOCTYPE html>
<html>
	<head>
		<script>
		
		</script>
	</head>
	<body>
		<h1>JavaScript can validate input - very useful on websites!!</h1>
		<p>Please input a number between 1 and 10</p>
		<input id="numb" />
		<button type="button" onClick="validate()">Submit</button>
		<p id="message"></p>
	</body>
</html>
Comments