-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
101 lines (96 loc) · 3.99 KB
/
index.html
File metadata and controls
101 lines (96 loc) · 3.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Assignment - Randy Anderson</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="excel.html">Excel</a></li>
</ul>
</header>
<hr>
<main>
<div>
<div id="main-content">
<fieldset>
<h1>Please fill out this form</h1><br>
<h2>With your details below:</h2>
<form name="mainform">
<div>
<div>
<label for="fname">First Name</label>
<input type="text" name="fname" id="fname" placeholder="First Name">
</div>
</div>
<div>
<label for="lname">Last Name</label>
<input type="text" name="lname" id="lname" placeholder="Last Name">
</div>
<div>
<div>
<label for="email">Email Address</label>
<input type="text" name="email" id="emailAddress" placeholder="Email Address">
</div>
<div>
<label for="address">Address</label>
<input type="text" name="address" id="address" placeholder="Address">
</div>
<div>
<label for="city">City</label>
<input type="text" name="city" id="city" placeholder="City">
</div>
<div>
<label for="province">Province</label>
<input type="text" name="province" id="province" placeholder="Province">
</select>
</div>
</div>
<div class="membership">
<div>
<input name="membership" type="radio" value="member1" checked>
<label for="premium">
Premium Membership
</label>
</div>
<div>
<input name="membership" type="radio" value="member2">
<label for="standard">
Standard Membership
</label>
</div>
<div>
<input name="membership" type="radio" value="member3">
<label for="basic">
Basic Membership
</label>
</div>
</div>
<input type="button" value="Submit" onclick="userForm()">
<input type="reset">
</form>
</fieldset>
<div class="answer">
Full Name: <span id="fullName"></span>
<br> Email: <span id="email-address"></span>
<br> Address: <span id="address-in"></span>
<br> Membership: <span id="memberships"></span>
</div>
</div>
</div>
</main>
<footer>
<hr>
<div>
<div>
<p>©JavaScript Assignment Copywrite Randy Anderson</p>
</div>
</div>
</footer>
<script src="js/script.js"></script>
</body>
</html>