2025-01-01 17:03:09 -05:00

62 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Registration</title>
<link rel="stylesheet" href="register.css">
</head>
<body>
<main>
<h1>Register for an Account</h1>
<form action="confirm.html" method="post">
<label for="email_address">E-Mail:</label>
<input type="email" name="email_address" id="email_address"
placeholder="name@domain.com" autocomplete="off"
autofocus required>
<span>*</span><br>
<label for="dob">DOB:</label>
<input type="date" name="dob" id="dob"
title="You must be at least 13 years old." required>
<span>*</span><br>
<label for="phone">Mobile Phone:</label>
<input type="tel" name="phone" id="phone"
placeholder="nnn-nnn-nnnn" autocomplete="off"
pattern="\d{3}[\-]\d{3}[\-]\d{4}"
title="Must be nnn-nnn-nnnn format." required>
<span>*</span><br>
<label for="country">Country:</label>
<select name="country" id="country"
title="Please select a country." required>
<option value="">Select a country</option>
<option>USA</option>
<option>Canada</option>
<option>Mexico</option>
</select>
<span>*</span><br>
<label>Contact me by:</label>
<input type="radio" name="contact" id="text"
value="text" checked>Text
<input type="radio" name="contact" id="email"
value="email">Email
<input type="radio" name="contact" id="none"
value="none">Don't contact me<br>
<label>Terms of Service:</label>
<input type="checkbox" name="terms" id="terms" required
title="Please accept the terms of service.">I accept
<span>*</span><br>
<label>&nbsp;</label>
<input type="submit" id="register" value="Register">
<input type="reset" id="reset_form" value="Reset">
</form>
</main>
<script src="register.js"></script>
</body>
</html>