-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (62 loc) · 2.92 KB
/
index.html
File metadata and controls
63 lines (62 loc) · 2.92 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/stylesheet.css">
<title>Week 3 Lab 2</title>
</head>
<body>
<div class="centerForm">
<form>
<h4>Step 1: Your details</h4>
<div class="borders">
<label for="name">Name</label>
<input type="text" id="name" name="full_name" placeholder="First and last name"> <br>
</div>
<div class="borders">
<label for="email">Email</label>
<input type="email" id="email" name="email_address" placeholder="example@email.com"> <br>
</div>
<div class="borders">
<label for="phone">Phone</label>
<input type="tel" id="phone" name="phone_number" placeholder="Eg. +447500000000">
</div>
<h4>Step 2: Delivery address</h4>
<div class="borders">
<label for="address" class="topleft">Address</label>
<textarea id="address" name="address"></textarea> <br>
</div>
<div class="borders">
<label for="pcode">Post code</label>
<input type="text" id="pcode" name="post_code"> <br>
</div>
<div class="borders">
<label for="country">Country</label>
<input type="text" id="country" name="location"> <br>
</div>
<h4>Step 3: Card details</h4>
<div class="borders">
<label class="label">Card type</label> <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="borders">
<label for="cnum">Card number</label>
<input type="text" id="cardnum" name="card_number"> <br>
</div>
<div class="borders">
<label for="scode">Security code</label>
<input type="text" id="scode" name="security_code"> <br>
</div>
<div class="borders">
<label for="ncard">Name on card</label>
<input type="text" id="ncard" name="name_on_card" placeholder="Exact name as on the card"> <br>
</div>
<div class="centerDiv">
<button type="submit">BUY IT!</button> <br>
</div>
</form>
</div>
</body>
</html>