-
Notifications
You must be signed in to change notification settings - Fork 0
/
bookAppointment.html
306 lines (281 loc) · 15.5 KB
/
bookAppointment.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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="./styles/bookAppointment.css">
<link rel="stylesheet" href="./styles/main.css">
</head>
<body>
<div id="nav_container"></div>
<div id="book_appt">
<div id="gifted_image">
<img class="giftBannerb" src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643282189/Icons%20BW%20DA%20flow/27_1_21/Mask_Group.png" alt="">
</div>
<div class="container-fluid">
<div class="container">
<div class="align-items-md-center flex-column row">
<div class="col-md-6" style="display:flex">
<div class="steps_containerb">
<div class="step_b">
<div class="step_1ub">1</div>
<div class="step_bb">Category</div>
</div>
</div>
<div class="steps_containerb">
<div class="step_b">
<div class="step_2ub">2</div>
<div class="step_bb">Information</div>
</div>
</div>
<div class="steps_containerb">
<div class="step_b">
<div class="step_3ub">3</div>
<div class="step_bb">Schedule</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="steps_formcontainerb">
<div>
<div class="main_formb">
<div>
<div class="headerquesb">
<div>What do you need help with?</div>
</div>
<div>
<div class="steps_optionsb">
<div class="step_optionhairb">
<input type="checkbox" name="option" class="checkOpthb">
<div style="margin-left:10px;">
<img src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643022205/Icons%20BW%20DA%20flow/hair.png" style="vertical-align:middle; width: 33px; height: 33px;" alt="">
</div>
<div class="titleoptb">Hair</div>
</div>
<div class="step_optionskinb">
<input type="checkbox" name="option" class="checkOptsb">
<div style="margin-left:10px;">
<img src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643022205/Icons%20BW%20DA%20flow/skin.png" style="vertical-align:middle; width: 31px; height: 30px;" alt="">
</div>
<div class="titleoptb">Skin</div>
</div>
<div class="step_optionpcosb">
<input type="checkbox" name="option" class="checkOptpb">
<div style="margin-left:10px;">
<img src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643022205/Icons%20BW%20DA%20flow/PCOS.png" style="vertical-align:middle; width: 36px; height: 32px;" alt="">
</div>
<div class="titleoptb">PCOS</div>
</div>
<div class="step_optionweightb">
<input type="checkbox" name="option" class="checkOptwb">
<div style="margin-left:10px;">
<img src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643022206/Icons%20BW%20DA%20flow/weight.png" style="vertical-align:middle; width: 29px; height: 29px; " alt="">
</div>
<div class="titleoptb">Weight</div>
</div>
<div class="step_optionnutritionb">
<input type="checkbox" name="option" class="checkOptnb">
<div style="margin-left:10px;">
<img src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643022206/Icons%20BW%20DA%20flow/weight.png" style="vertical-align:middle; width: 29px; height: 29px; " alt="">
</div>
<div class="titleoptb">Nutrition</div>
</div>
<div class="step_optionutib">
<input type="checkbox" name="option" class="checkOptub">
<div style="margin-left:10px;">
<img src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643022206/Icons%20BW%20DA%20flow/UTI.png" style="vertical-align:middle; width: 31px; height: 30px; " alt="">
</div>
<div class="titleoptb">UTI</div>
</div>
</div>
</div>
</div>
<div>
<button class="next_buttonb">Next</button>
</div>
</div>
<div class="card_containerb">
<div>
<img src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643282189/Icons%20BW%20DA%20flow/27_1_21/ladies.png" style="width: 144px; height: 103px; border-radius: 15px; background: rgb(152, 66, 68);" alt="">
</div>
<div><p class="cardtextb">Bodywise has built a panel of understanding women doctors and nutritionists to solve all things wellness one at a time.</p></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer Section -->
<div class="footer" id="foot_cont"></div>
</body>
</html>
<script type="module">
// Navabar and Footer
import {navbar, footer} from "./components/navbar.js";
let navbar_div = document.getElementById("nav_container");
navbar_div.innerHTML = navbar();
let footer_content = document.getElementById("foot_cont");
footer_content.innerHTML = footer();
let imgOffer=document.querySelector(".giftBannerb");
imgOffer.addEventListener("click", changeImg)
function changeImg(){
imgOffer.src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643282189/Icons%20BW%20DA%20flow/27_1_21/Mask_Group-1.png";
imgOffer.style.width="400px";
const myTimeout = setTimeout(little, 1000);
function little(){
imgOffer.src="https://res.cloudinary.com/mosaic-wellness/image/upload/v1643282189/Icons%20BW%20DA%20flow/27_1_21/Mask_Group.png";
imgOffer.style.width="43px";
}
}
let Hairdiv=document.querySelector(".step_optionhairb");
let Skindiv=document.querySelector(".step_optionskinb");
let Pcosdiv=document.querySelector(".step_optionpcosb");
let Weightdiv=document.querySelector(".step_optionweightb");
let Nutritiondiv=document.querySelector(".step_optionnutritionb");
let UTIdiv=document.querySelector(".step_optionutib");
let Headtitle=document.querySelector(".headerquesb");
let step1=document.querySelector(".step_1ub");
let nxtButton=document.querySelector(".next_buttonb");
let num1div=document.querySelector(".step_1ub");
let checkHair=document.querySelector(".opthbox");
// console.log(check);
var x=0;
Hairdiv.onclick=()=>{
x++;
if(x%2==1){
Hairdiv.style.backgroundColor="rgb(102,80,154)";
nxtButton.style.backgroundColor="rgb(102,80,154)";
Pcosdiv.style.border="1px solid rgb(102,80,154)";
Hairdiv.style.border="1px solid rgb(102,80,154)";
Skindiv.style.border="1px solid rgb(102,80,154)";
Weightdiv.style.border="1px solid rgb(102,80,154)";
Nutritiondiv.style.border="1px solid rgb(102,80,154)";
UTIdiv.style.border="1px solid rgb(102,80,154)";
Headtitle.style.color="rgb(102,80,154)";
num1div.style.backgroundColor="rgb(102,80,154)";
// checkHair.style.backgroundImage=url(`https://res.cloudinary.com/mosaic-wellness/image/upload/v1643091299/Icons%20BW%20DA%20flow/checks/sc1.png`);
console.log("hair saying hello");
}
else if(x%2==0){
console.log("oh ! hair saying bye");
Hairdiv.style.backgroundColor="white";
nxtButton.style.opacity=".2";
}
}
Skindiv.onclick=()=>{
x++;
if(x%2==1){
Skindiv.style.backgroundColor="rgb(25,100,171)";
nxtButton.style.backgroundColor="rgb(25,100,171)";
Pcosdiv.style.border="1px solid rgb(25,100,171)";
Hairdiv.style.border="1px solid rgb(25,100,171)";
Skindiv.style.border="1px solid rgb(25,100,171)";
Weightdiv.style.border="1px solid rgb(25,100,171)";
Nutritiondiv.style.border="1px solid rgb(25,100,171)";
UTIdiv.style.border="1px solid rgb(25,100,171)";
Headtitle.style.color="rgb(25,100,171)";
num1div.style.backgroundColor="rgb(25,100,171)";
// checkHair.style.backgroundImage=url(`https://res.cloudinary.com/mosaic-wellness/image/upload/v1643091299/Icons%20BW%20DA%20flow/checks/sc1.png`);
console.log("skin saying hello");
}
else if(x%2==0){
console.log("oh ! skin saying bye");
Skindiv.style.backgroundColor="white";
nxtButton.style.opacity=".2";
}
}
Pcosdiv.onclick=()=>{
x++;
if(x%2==1){
Pcosdiv.style.backgroundColor="rgb(232,102,105)";
Pcosdiv.style.border="1px solid rgb(232,102,105)";
Hairdiv.style.border="1px solid rgb(232,102,105)";
Skindiv.style.border="1px solid rgb(232,102,105)";
Weightdiv.style.border="1px solid rgb(232,102,105)";
Nutritiondiv.style.border="1px solid rgb(232,102,105)";
UTIdiv.style.border="1px solid rgb(232,102,105)";
nxtButton.style.backgroundColor="rgb(232,102,105)";
Headtitle.style.color="rgb(232,102,105)";
num1div.style.backgroundColor="rgb(232,102,105)";
// checkHair.style.backgroundImage=url(`https://res.cloudinary.com/mosaic-wellness/image/upload/v1643091299/Icons%20BW%20DA%20flow/checks/sc1.png`);
console.log("pcos saying hello");
}
else if(x%2==0){
console.log("oh ! pcos saying bye");
Pcosdiv.style.backgroundColor="white";
nxtButton.style.opacity=".2";
}
}
Weightdiv.onclick=()=>{
x++;
if(x%2==1){
Weightdiv.style.backgroundColor="rgb(0,112,97)";
Pcosdiv.style.border="1px solid rgb(0,112,97)";
Hairdiv.style.border="1px solid rgb(0,112,97)";
Skindiv.style.border="1px solid rgb(0,112,97)";
Weightdiv.style.border="1px solid rgb(0,112,97)";
Nutritiondiv.style.border="1px solid rgb(0,112,97)";
UTIdiv.style.border="1px solid rgb(0,112,97)";
nxtButton.style.backgroundColor="rgb(0,112,97)";
Headtitle.style.color="rgb(0,112,97)";
num1div.style.backgroundColor="rgb(0,112,97)";
// checkHair.style.backgroundImage=url(`https://res.cloudinary.com/mosaic-wellness/image/upload/v1643091299/Icons%20BW%20DA%20flow/checks/sc1.png`);
console.log("weight saying hello");
}
else if(x%2==0){
console.log("oh ! weight saying bye");
Weightdiv.style.backgroundColor="white";
nxtButton.style.opacity=".2";
}
}
Nutritiondiv.onclick=()=>{
x++;
if(x%2==1){
Nutritiondiv.style.backgroundColor="rgb(0,112,97)";
Pcosdiv.style.border="1px solid rgb(0,112,97)";
Hairdiv.style.border="1px solid rgb(0,112,97)";
Skindiv.style.border="1px solid rgb(0,112,97)";
Weightdiv.style.border="1px solid rgb(0,112,97)";
Nutritiondiv.style.border="1px solid rgb(0,112,97)";
UTIdiv.style.border="1px solid rgb(0,112,97)";
nxtButton.style.backgroundColor="rgb(0,112,97)";
Headtitle.style.color="rgb(0,112,97)";
num1div.style.backgroundColor="rgb(0,112,97)";
// checkHair.style.backgroundImage=url(`https://res.cloudinary.com/mosaic-wellness/image/upload/v1643091299/Icons%20BW%20DA%20flow/checks/sc1.png`);
console.log("weight saying hello");
}
else{
console.log("oh ! weight saying bye");
Nutritiondiv.style.backgroundColor="white";
nxtButton.style.opacity=".2";
}
}
UTIdiv.onclick=()=>{
x++;
if(x%2==1){
UTIdiv.style.backgroundColor="rgb(94,147,189)";
Pcosdiv.style.border="1px solid rgb(94,147,189)";
Hairdiv.style.border="1px solid rgb(94,147,189)";
Skindiv.style.border="1px solid rgb(94,147,189)";
Weightdiv.style.border="1px solid rgb(94,147,189)";
Nutritiondiv.style.border="1px solid rgb(94,147,189)";
UTIdiv.style.border="1px solid rgb(94,147,189)";
nxtButton.style.backgroundColor="rgb(94,147,189)";
Headtitle.style.color="rgb(94,147,189)";
num1div.style.backgroundColor="rgb(94,147,189)";
console.log("weight saying hello");
}
else if(x%2==0){
console.log("oh ! weight saying bye");
UTIdiv.style.backgroundColor="white";
nxtButton.style.opacity=".2";
}
}
</script>