QUESTION ONE
1.1 In this task, you are to create a simple registration form. Use the sample below:
USERNAME:
PASSWORD:
CONFIRM PASSWORD:
FIRSTNAME:
SURNAME:
EMAIL:
QUALIFICATION:
CELL NUMBER:
GENDER:
NATIONALITY:
CANCEL
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Registration Form</title>
</head>
<body>
<form action="#">
<fieldset>
<input type="text" placeholder="Username" minlength="6" required>
<input type="password" placeholder="Password" minlength="4" required>
<input type="password" placeholder="Confirm Password" required>
<input type="text" placeholder="Firstname" minlength="3" required>
<input type="text" placeholder="Surname" minlength="3" required>
<input type="email" placeholder="Email" required>
<input type="text" placeholder="Qualification" required>
<input type="number" placeholder="Cell Number" min="0" required>
<select name="gender" id="gender">
<option value="male">Male</option>
<option value="female">Female</option>
</select>
<select name="nation" id="nation">
<option value="#">Ex.1</option>
<option value="#">Ex.2</option>
<option value="#">Ex.3</option>
</select>
<input type="button" value="Cancel">
</fieldset>
</form>
</body>
</html>
Comments
Leave a comment