-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
104 lines (104 loc) · 3.4 KB
/
index.html
File metadata and controls
104 lines (104 loc) · 3.4 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
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Document</title>
</head>
<body>
<div class="main_form">
<form action="index.html" method="post" >
<fieldset>
<legend>Step 1: Your details</legend>
<div class="green_form">
<label class="label" for="name">Name</label>
<input
type="text"
id="name"
name="user_name"
placeholder="First and Last Name"
/>
</div>
<div class="green_form">
<label for="email">Email</label>
<input
type="email"
id="email"
name="user_email"
placeholder="email@domain.com"
/>
</div>
<div class="green_form">
<label for="Phone">Phone</label>
<input
type="Phone"
id="Phone"
name="user_phone"
placeholder="Eg. +4475000000000"
/>
</div>
</fieldset>
<fieldset>
<legend>Step 2: Delivery Address</legend>
<div class="green_form flex">
<div class="address">
<label for="Address">Address</label>
</div>
<textarea type="text" id="name" name="user_name"></textarea>
</div>
<div class="green_form">
<label for="post code">Post code</label>
<input type="post code" id="postcode" name="post_code" />
</div>
<div class="green_form">
<label for="country">Country</label>
<input type="country" id="country" name="user_country" />
</div>
</fieldset>
<fieldset>
<legend>Step 3: Card details</legend>
<div class="green_form flex-column">
<div class="margin">
<legend class="cardform">Card type</legend>
</div>
<div class="space-around">
<div class="flex">
<input type="radio" name="card_type" id="visa">
<label for="visa">Visa</label>
</div>
<div class="flex">
<input type="radio" name="card_type" id="amex">
<label for="amex">Amex</label>
</div>
<div class="flex">
<input type="radio" name="card_type" id="mastercard">
<label for="mastercard">Mastercard</label>
</div>
</div>
</div>
<div class="green_form">
<label for="cardnumber"> Card Number</label>
<input type="text" id="name" name="user_name" />
</div>
<div class="green_form">
<label for="security code"> Security code</label>
<input type="text" id="name" name="user_name" />
</div>
<div class="green_form">
<label for="Name on Card"> Name on Card</label>
<input
type="text"
id="name"
name="user_name"
placeholder="Exact Name as on the Card"
/>
</div>
<div class="submit_button">
<button type="submit">BUY IT!</button>
</div>
</fieldset>
</form>
</div>
</body>
</html>