-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
163 lines (156 loc) · 6.98 KB
/
index.html
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!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="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="./style.css" />
<title>Stepper Form</title>
</head>
<body class="bg-light py-5 px-lg-5">
<div class="container">
<!-- HEADER -->
<header>
<h1 class="text-center font-weight-lighter">Coding Challenge 1</h1>
<h3 class="text-center pb-5 font-weight-lighter">Stepper Form</h3>
</header>
<!-- MAIN -->
<div class="row">
<div class="col-lg-6 offset-lg-3">
<div class="card shadow border-0">
<div class="card-body">
<!-- STEPPER FORM -->
<form action="" class="sf-form">
<!-- INDICATORS -->
<div class="sf-indicators mb-4">
<hr class="timeline" />
</div>
<!-- FORM STEPS -->
<div class="sf-steps" style="min-height:170px;">
<!-- STEP 1 -->
<div class="sf-step" data-name="Step 1">
<div class="form-group">
<input type="email" class="form-control" name="email" placeholder="Email Address" required />
</div>
</div>
<!-- STEP 2 -->
<div class="sf-step" data-name="Step 2">
<div class="row">
<div class="col">
<div class="form-group">
<input type="text" class="form-control" placeholder="First Name" />
</div>
</div>
<div class="col">
<div class="form-group">
<input type="text" class="form-control" placeholder="Last Name" />
</div>
</div>
</div>
</div>
<!-- Step 3 -->
<div class="sf-step" data-name="Step 3">
<div class="form-group">
<input type="text" class="form-control" placeholder="Street" />
</div>
<div class="row">
<div class="col">
<div class="form-group">
<input type="text" class="form-control" required placeholder="City" />
</div>
</div>
<div class="col">
<div class="form-group">
<select class="form-control" id="exampleFormControlSelect1">
<option selected="true" disabled="disabled">State</option>
<option>Alabama</option>
<option>Alaska</option>
<option>Arizona</option>
<option>Arkansas</option>
<option>California</option>
<option>Colorado</option>
<option>Connecticut</option>
<option>Delaware</option>
<option>Florida</option>
<option>Georgia</option>
<option>Hawaii</option>
<option>Idaho</option>
<option>Illinois</option>
<option>Indiana</option>
<option>Iowa</option>
<option>Kansas</option>
<option>Kentucky</option>
<option>Louisiana</option>
<option>Maine</option>
<option>Maryland</option>
<option>Massachusetts</option>
<option>Michigan</option>
<option>Minnesota</option>
<option>Mississippi</option>
<option>Missouri</option>
<option>Montana</option>
<option>Nebraska</option>
<option>Nevada</option>
<option>New Hampshire</option>
<option>New Jersey</option>
<option>New Mexico</option>
<option>New York</option>
<option>North Carolina</option>
<option>North Dakota</option>
<option>Ohio</option>
<option>Oklahoma</option>
<option>Oregon</option>
<option>Pennsylvania</option>
<option>Rhode Island</option>
<option>South Carolina</option>
<option>South Dakota</option>
<option>Tennessee</option>
<option>Texas</option>
<option>Utah</option>
<option>Vermont</option>
<option>Virginia</option>
<option>Washington</option>
<option>West Virginia</option>
<option>Wisconsin</option>
<option>Wyoming</option>
</select>
</div>
</div>
<div class="col">
<div class="form-group">
<input type="text" class="form-control" placeholder="Zip Code" />
</div>
</div>
</div>
</div>
</div>
<!-- FORM FOOTER -->
<div class="form-footer">
<button class="btn btn-flat sf-prev float-left px-3" type="button">
<i class="fa fa-chevron-left pr-2"></i>
Back
</button>
<button class="btn btn-primary sf-next float-right px-3" type="button">
Next
<i class="fa fa-chevron-right pl-2"></i>
</button>
<button class="btn btn-primary sf-submit float-right px-3" type="submit">
Send
<i class="fa fa-paper-plane pl-2"></i>
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>