<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Live Validation</title>
</head>
<body>
	
	<form action="#" method="post" novalidate>
		<h1>Registration Form</h1>
		
		<div>
			<label for="username">Username: </label>
			<input type="text" name="username" id="username">
		</div>

		<div>
			<label for="email">E-Mail: </label>
			<input type="email" name="email" id="email">
		</div>

		<input type="submit" name="register-account" value="Register!">
	</form>

</body>
</html>
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Live Validation</title>
</head>
<body>
	
	<form action="#" method="post" novalidate>
		<h1>Registration Form</h1>
		
		<div>
			<label for="username">Username: </label>
			<input type="text" name="username" id="username">
			<span id="username-message"></span>
		</div>

		<div>
			<label for="email">E-Mail: </label>
			<input type="email" name="email" id="email">
			<span id="email-message"></span>
		</div>

		<input type="submit" name="register-account" value="Register!">
	</form>

</body>
</html>
Add spaces for error messages
Add spaces for error messages
