-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
119 lines (111 loc) · 5.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
<meta charset="UTF-8">
<title>Task 1</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="world">
<form name="shirtMaker" id="shirtMaker" action="" target="_blank" onsubmit="handleSubmit(event); return false;" method="post">
<div class="stage">
<div id="screen1" class="screen ">
<div class="text-center">
<h1 class="bold_home_text">Shirt Maker's <br> Hub </h1>
<p>We make your shirt and deliver it to your doorstep.</p>
<p>
Please enter you name
</p>
</div>
<div class="text-center">
<input class="name_input" name="visitor_name" type="text" placeholder="Full Name">
</div>
<div class="text-center margin_top_40px">
<button type="button" class="screen_control" data-next="screen2">Next</button>
</div>
</div>
<div id="screen2" class="screen">
<div class="">
<div class="section">
<div class="field_label">
<label for="slider1_range">Neck Size</label>
<label id="neck_value" class="right_text">40cm</label>
</div>
<div id="slider1" class="field slider_wrapper">
<input max="100" min="0" value="40" name="slider1_range" id="slider1_range" class="hidden_range" type="range">
<div class="slider_rail">
<div class="slider_knob"></div>
</div>
</div>
</div>
<div class="section">
<div class="field_label">
<label for="slider2_range">Sleeve Size</label>
<label id="sleeve_value" class="right_text">40cm</label>
</div>
<div id="slider2" class="field slider_wrapper">
<input max="100" min="0" value="40" name="slider2_range" id="slider2_range" class="hidden_range" type="range">
<div class="slider_rail">
<div class="slider_knob"></div>
</div>
</div>
</div>
<div class="section">
<div class="field_label">
<label>Collar Type</label>
</div>
<div class="radio_bar_wrapper margin_top_20px">
<input type="radio" name="collar_type" id="long_french" value="long_french" class="hide">
<label class="radio_bar" for="long_french">
<img src="img/type1.jpg" alt="">
</label>
<input type="radio" name="collar_type" id="short_french" value="short_french" class="hide">
<label class="radio_bar" for="short_french">
<img src="img/type2.jpeg" alt="">
</label>
<input type="radio" name="collar_type" id="normal_collar" value="normal_collar" class="hide">
<label class="radio_bar" for="normal_collar">
<img src="img/type3.png" alt="">
</label>
</div>
</div>
</div>
<div class="text-center margin_top_40px">
<button type="button" class="screen_control" data-next="screen1">Prev </button>
<button type="button" class="screen_control" data-next="screen3">Next </button>
</div>
</div>
<div id="screen3" class="screen">
<div class="">
<div class="section">
<div class="field_label">
<label>Delivery Address</label>
</div>
<div class="radio_bar_wrapper margin_top_20px">
<textarea name="delivery_address" rows="5"></textarea>
</div>
</div>
</div>
<div class="text-center margin_top_40px">
<button type="button" class="screen_control" data-next="screen2">Prev</button>
<button type="submit" class="screen_control" data-next="screen4">Next</button>
</div>
</div>
<div id="screen4" class="screen">
<div class="text-center">
<h1 class="success">Successful</h1>
<p> Thanks <span id="visitor_name_literal"></span>, Your shirt is on its way to you.</p>
</div>
<div class="text-center margin_top_40px">
<button type="reset" class="screen_control" data-next="screen1">Restart</button>
</div>
</div>
</div>
</form>
</div>
<script type="text/javascript" src="js/elQuery.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>