-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlab2.html
More file actions
65 lines (60 loc) · 3.5 KB
/
lab2.html
File metadata and controls
65 lines (60 loc) · 3.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="stylesheet.css">
<title>Week 3 Lab 2</title>
</head>
<body>
<div class="center">
<form>
<h3>Step 1: Your details</h3>
<div class="name1">
<label for="name" >Name</label>
<input type="text" id="name" name="full_name"> <br>
</div>
<div class="name1">
<label for="email">Email</label>
<input type="email" id="email" name="email_address" multiple> <br>
</div>
<div class="name1">
<label for="phone">Phone</label>
<input type="text" id="phone" name="phone_number"><br>
</div>
<h3>Step 2: Delivery address</h3>
<div class="name1">
<label for="address">Address</label>
<textarea id="address" name="address" rows="4" cols="20"></textarea> <br>
</div>
<div class="name1">
<label for="pcode">Post code</label>
<input type="text" id="pcode" name="post_code"> <br>
</div>
<div class="name1">
<label for="country">Country</label>
<input type="text" id="country" name="location"> <br>
</div>
<h3>Step 3: Card details</h3>
<div class="name2">
<label>Card type</label><br><br>
<input type="radio" id="visa" value="visa" name="card_type"><label for="visa">Visa</label>
<input type="radio" id="amex" value="amex" name="card_type"><label for="amex">Amex</label>
<input type="radio" id="mcard" value="mcard" name="card_type"><label for="mcard">Mastercard</label> <br>
</div>
<div class="name1">
<label for="cnum">Card number</label>
<input type="text" id="cardnum" name="card_number"> <br>
</div>
<div class="name1">
<label for="scode">Security code</label>
<input type="text" id="scode" name="security_code"> <br>
</div>
<div class="name1">
<label for="ncard">Name on card</label>
<input type="text" id="ncard" name="name_on_card"> <br>
</div>
<button type="submit">BUY IT!</button> <br>
</form>
</div>
</body>
</html>