-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLab2.html
More file actions
96 lines (92 loc) · 4.27 KB
/
Lab2.html
File metadata and controls
96 lines (92 loc) · 4.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form</title>
<link rel="stylesheet" href="lab2.css">
</head>
<body>
<div class="container">
<form>
<div class="container-item">
<div>
<h3>Step 1: Your details</h3>
<fieldset class="bkcolor">
<div>
<label for="name">Name</label>
<input type="text" id="name" name="user_name" placeholder="First and last name">
</div>
</fieldset>
<fieldset class="bkcolor">
<div>
<label for="email">Email</label>
<input type="text" id="email" name="user_email" placeholder="example@domain.com">
</div>
</fieldset>
<fieldset class="bkcolor">
<label for="Phone">Phone</label>
<input type="tel" id="phone" name="user_phone" placeholder="Eg. +447500000000">
</fieldset>
</div>
<div>
<h3>Step 2: Delivery address</h3>
<fieldset class="bkcolor">
<div>
<label for="address">Address</label>
<textarea id="address" name="user_address"></textarea>
</div>
</fieldset>
<fieldset class="bkcolor">
<div>
<label for="postcode" class="pcode">Post Code</label>
<input type="postcode" id="postcode" name="user_postcode">
</div>
</fieldset>
<fieldset class="bkcolor">
<div>
<label for="country">Country</label>
<input type="country" id="country" name="user_country">
</div>
</fieldset>
</div>
<div>
<h3>Step 3: Card details</h3>
<fieldset class="bkcolor">
<div class="rbutton">
Card Type <br/>
<input type="radio" id="visa" name="card" value="visa">
<label for="visa">VISA</label>
<input type="radio" id="amex" name="card" value="amex">
<label for="amex">AmEx</label>
<input type="radio" id="mastercard" name="card" value="mastercard">
<label for="mastercard">Mastercard</label>
</div>
</fieldset>
<fieldset class="bkcolor">
<div>
<label for="cardnumber">Card Number</label>
<input type="number" id="cardnumber" name="user_card">
</div>
</fieldset>
<fieldset class="bkcolor">
<div>
<label for="securitycode">Security code</label>
<input type="number" id="securitycode" name="user_code">
</div>
</fieldset>
<fieldset class="bkcolor">
<div>
<label for="name">Name on card</label>
<input type="text" id="name" name="user_name" placeholder="Exact name on the card">
</div>
</fieldset>
<div class="btn">
<button type="submit">Buy IT!</button>
</div>
</div>
</div>
</form>
</div>
</body>
</html>