forked from ezotic/HTML-CSS-Pair-Programming-Lab-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (61 loc) · 2.39 KB
/
index.html
File metadata and controls
65 lines (61 loc) · 2.39 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
<!DOCTYPE html>
<html>
<head>
<title>Sign Up Form</title>
<link rel="stylesheet" href="style.css">
</head>
<body class="container">
<main>
<div>
<form action="index.html" method="post">
<h2>Step 1: Your details</h2>
<fieldset>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="First and last name">
</fieldset>
<fieldset>
<label for="email">Email:</label>
<input type="text" id="email" name="email" placeholder="example@domain.com">
</fieldset>
<fieldset>
<label for="phone">Phone:</label>
<input type="text" id="phone" name="phone" placeholder="Eg. +447500000000">
</fieldset>
<h2>Step 2: Delivery address</h2>
<fieldset>
<label for="address">Address</label>
<textarea id="address" name="address"></textarea>
</fieldset>
<fieldset>
<label for="post_code">Post code</label>
<input type="number" id="post_code" name="post_code">
</fieldset>
<fieldset>
<label for="country">Country</label>
<input type="text" id="country" name="country">
</fieldset>
<h2>Step 3: Card details</h2>
<fieldset>
<label>Card type</label>
<input type="radio" id="visa" value="visa" name="visa"><label for="visa" class="light">VISA</label>
<input type="radio" id="amex" value="amex" name="amex"><label for="amex" class="light">AmEx</label>
<input type="radio" id="mastercard" value="mastercard" name="mastercard"><label for="under_13" class="light">Mastercard</label>
</fieldset>
<fieldset>
<label for="card_number">Card number</label>
<input type="text" id="card_number" name="card_number">
</fieldset>
<fieldset>
<label for="security_code">Security code</label>
<input type="number" id="security_code" name="security_code">
</fieldset>
<fieldset>
<label for="name_on_card">Name on card</label>
<input type="text" id="name_on_card" name="nameoncard" placeholder="Exact name as on the card">
</fieldset>
<button type="submit">BUY IT!</button>
</form>
</div>
</main>
</body>
</html>