-
Notifications
You must be signed in to change notification settings - Fork 0
/
project-details.html
422 lines (309 loc) · 17.2 KB
/
project-details.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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home Extension Cost Estimating - Made Easy</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/x-icon" href="assets/favicon.png">
<!-- Customised Social Sharing -->
<meta property="og:title" content="Generate Your Dream Extension Checklist ✨ | BuildBuddy">
<meta property="og:description"
content="Stuck on your extension plans? Generate your FREE step-by-step checklist with BuildBuddy! Get started on your dream extension in minutes.">
<meta property="og:image"
content="https://github.com/theLadEli/home-extension-cost-calculator/blob/main/assets/social-share-image.png?raw=true">
</head>
<body id="body-center">
<form onsubmit="saveProjectDetails(event)" id="project-details-content">
<!-- Q1: Project Type -->
<div id="step-1" class="step active">
<div class="step-text">
<h1 id="project-details-custom-name-intro">👋 Hi! What type of project do you have in mind?</h1>
<p>Every extension project is unique. Choosing the right type depends on factors like budget, existing property structure and your desired outcome. <b>If you’re unsure what’s right for you, hover over an option to find out more.</b></p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-grid">
<label class="qg_item" for="single-storey-side">
<input type="radio" name="project_type" value="single-storey-side" id="single-storey-side">
<img src="assets/single-storey-side.svg">
<span class="qg_title">Single Storey</span>
<span class="qg_subtitle">(side)</span>
</label>
<label class="qg_item" for="double-storey-side">
<input type="radio" name="project_type" value="double-storey-side" id="double-storey-side">
<img src="assets/double-storey-side.svg">
<span class="qg_title">Double Storey</span>
<span class="qg_subtitle">(side)</span>
</label>
<label class="qg_item" for="single-storey-rear">
<input type="radio" name="project_type" value="single-storey-rear" id="single-storey-rear">
<img src="assets/single-storey-rear.svg">
<span class="qg_title">Single Storey</span>
<span class="qg_subtitle">(rear)</span>
</label>
<label class="qg_item" for="double-storey-rear">
<input type="radio" name="project_type" value="double-storey-rear" id="double-storey-rear">
<img src="assets/double-storey-rear.svg">
<span class="qg_title">Double Storey</span>
<span class="qg_subtitle">(rear)</span>
</label>
<label class="qg_item" for="loft-conversion">
<input type="radio" name="project_type" value="loft-conversion" id="loft-conversion">
<img src="assets/loft-conversion.svg">
<span class="qg_title">Loft Conversion</span>
</label>
<label class="qg_item" for="basement">
<input type="radio" name="project_type" value="basement" id="basement">
<img src="assets/basement.svg">
<span class="qg_title">Basement</span>
</label>
</fieldset>
<div class="form-nav-buttons" style="justify-content: flex-end;">
<a onclick="nextQuestion(); saveProjectType()">Next</a>
</div>
</div>
<!-- Q2: Planning Status -->
<div id="step-2" class="step">
<div class="step-text">
<h1>Have you thought about planning?</h1>
<p>Planning permission is usually needed for structural changes to your home. <b>Don't worry if you're unsure, we can help you navigate this step!</b></p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-row">
<label class="qr_item" for="ps_no">
<input type="radio" name="planning_status" value="no" id="ps_no">
<b>No,</b> I haven’t started the process yet or am unsure if I need to.
</label>
<label class="qr_item" for="ps_not-needed">
<input type="radio" name="planning_status" value="not-needed" id="ps_not-needed">
<b>I don’t need planning,</b> my project falls under permitted development.
</label>
<label class="qr_item" for="ps_submitted">
<input type="radio" name="planning_status" value="submitted" id="ps_submitted">
<b>I’ve already submitted planning,</b> I’m now waiting for a decision.
</label>
<label class="qr_item" for="ps_approved">
<input type="radio" name="planning_status" value="approved" id="ps_approved">
<b>I have planning,</b> my application has been approved.
</label>
</fieldset>
<div class="form-nav-buttons">
<a class="secondary-btn" onclick="previousQuestion()">Back</a>
<a onclick="nextQuestion()">Next</a>
</div>
</div>
<!-- Q3: Design -->
<div id="step-3" class="step">
<div class="step-text">
<h1 id="personlised-step-3">Do you have an idea of what your project should look like?</h1>
<p>This helps us tailor your checklist to features that align with your dream extension! We can guide you through the process of defining your project's style, functionality, and key features, even if you haven't settled on specifics yet.</p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-column">
<label class="qc_item" for="pd_no">
<input type="radio" name="project_design" id="pd_no" value="no">
<img src="assets/need-inspiration.jpg">
<div>
<b>No</b><p>I need help deciding this.</p>
</div>
</label>
<label class="qc_item" for="pd_yes">
<input type="radio" name="project_design" id="pd_yes" value="yes">
<img src="assets/idea-board.jpg">
<div>
<b>Yes</b><p>I know what I want.</p>
</div>
</label>
</fieldset>
<div class="form-nav-buttons">
<a class="secondary-btn" onclick="previousQuestion()">Back</a>
<a onclick="nextQuestion()">Next</a>
</div>
</div>
<!-- Q4: Interior and Finishes -->
<div id="step-4" class="step">
<div class="step-text">
<h1>Are you planning on selecting the interior design elements and finishes yourself?</h1>
<p><b>Did you know:</b> around 44% of DIY home improvement projects exceeded their initial budgets. This is often due to underestimating the expenses associated with materials, labour, and unforeseen complications.</p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-column">
<label class="qc_item" for="iaf_no">
<input type="radio" name="interior_and_finishes" id="iaf_no" value="no">
<img src="assets/no-interior-design.jpg">
<div>
<b>No</b><p>I'm not undertaking this or will hire a professional.</p>
</div>
</label>
<label class="qc_item" for="iaf_yes">
<input type="radio" name="interior_and_finishes" id="iaf_yes" value="yes">
<img src="assets/undertaking-interior-design.jpg">
<div>
<b>Yes</b><p>I’ll make design decisions and select finishes.</p>
</div>
</label>
</fieldset>
<div class="form-nav-buttons">
<a class="secondary-btn" onclick="previousQuestion()">Back</a>
<a onclick="nextQuestion()">Next</a>
</div>
</div>
<!-- Q5: External Works -->
<div id="step-5" class="step">
<div class="step-text">
<h1>Will your project include any landscaping or work on your outdoor space?</h1>
<p>This could involve gardens, patios, decking, pathways, outdoor lighting, or external painting. Even if you're not sure yet, any plans you have for the outside can help us create a more comprehensive checklist for your dream home!</p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-row">
<label class="qr_item" for="ew_yes">
<input type="radio" name="external_works" id="ew_yes" value="yes">
<b>Yes</b>
</label>
<label class="qr_item" for="ew_no">
<input type="radio" name="external_works" id="ew_no" value="no">
<b>No</b>
</label>
</fieldset>
<div class="form-nav-buttons">
<a class="secondary-btn" onclick="previousQuestion()">Back</a>
<a onclick="nextQuestion()">Next</a>
</div>
</div>
<!-- Q6: Construction and Management -->
<div id="step-6" class="step">
<div class="step-text">
<h1>How do you plan on managing your project?</h1>
<p>Managing construction can be a complex process. Self-managing gives you full control and saves money upfront, but requires significant time. Hiring a project manager can streamline the process, saving you time and stress, and potentially avoid costly mistakes, but comes with an added cost.</p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-row">
<label class="qr_item" for="cam_yes">
<input type="radio" name="construction_and_management" id="cam_yes" value="yes">
<b>Yes:</b> I’ll be overseeing all aspects of the construction.
</label>
<label class="qr_item" for="cam_no">
<input type="radio" name="construction_and_management" id="cam_no" value="no">
<b>No:</b> I’ll hire a project manager who can handle the day-to-day tasks, saving me time and stress.
</label>
<label class="qr_item" for="cam_unsure">
<input type="radio" name="construction_and_management" id="cam_unsure" value="unsure">
<b>Unsure:</b> I'll decide this later.
</label>
</fieldset>
<div class="form-nav-buttons">
<a class="secondary-btn" onclick="previousQuestion()">Back</a>
<a onclick="nextQuestion()">Next</a>
</div>
</div>
<!-- Q7: Professional Help -->
<div id="step-7" class="step">
<div class="step-text">
<h1>Which professionals have you hired or do you plan on hiring for your project?</h1>
<p>Select all the professionals you plan to hire or have already hired for your extension project. This can be updated later as your project progresses.</p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-flex-grid">
<label class="qg_item" for="architect">
<input type="checkbox" id="architect" name="professional_help" value="architect">
<img src="assets/architect.png">
Architect
</label>
<label class="qg_item" for="structural-engineer">
<input type="checkbox" id="structural-engineer" name="professional_help" value="structural-engineer">
<img src="assets/engineer.png">
Structural Engineer
</label>
<label class="qg_item" for="builder">
<input type="checkbox" id="builder" name="professional_help" value="builder">
<img src="assets/builder.png">
Builder
</label>
<label class="qg_item" for="interior-designer">
<input type="checkbox" id="interior-designer" name="professional_help" value="interior-designer">
<img src="assets/designer.png">
Interior Designer
</label>
<label class="qg_item" for="none">
<input type="checkbox" id="none" name="professional_help" value="none">
<img src="assets/none.png">
None
</label>
</fieldset>
<div class="form-nav-buttons">
<a class="secondary-btn" onclick="previousQuestion()">Back</a>
<a onclick="nextQuestion()">Next</a>
</div>
</div>
<!-- Q8: Budget -->
<div id="step-8" class="step">
<div class="step-text">
<h1>Have you set a budget for your project?</h1>
<p><b>Did you know:</b> less then 1 in 3 projects come within 10% of the original budget.<br><br>Setting a realistic budget upfront can help you avoid financial surprises down the road, and BuildBuddy is here to help you do so!</p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-row">
<label class="qr_item" for="b_yes-fixed">
<input type="radio" name="budget" id="b_yes-fixed" value="yes-fixed">
<b>Yes:</b> I have a fixed budget
</label>
<label class="qr_item" for="b_yes-flexible">
<input type="radio" name="budget" id="b_yes-flexible" value="yes-flexible">
<b>No:</b> but it’s flexible
</label>
<label class="qr_item" for="b_no">
<input type="radio" name="budget" id="b_no" value="no">
<b>Unsure:</b> I need help setting it
</label>
</fieldset>
<div class="form-nav-buttons">
<a class="secondary-btn" onclick="previousQuestion()">Back</a>
<a onclick="nextQuestion()">Next</a>
</div>
</div>
<!-- Q9: Timeline -->
<div id="step-9" class="step">
<div class="step-text">
<h1>Is there a target date you'd ideally like your extension project to be completed by?</h1>
<p>Extension projects can take time and impact your daily routine. Having a target completion date in mind can help you stay motivated, manage expectations and prioritise tasks.</p>
</div>
<div class="progress-bar">
<div class="pb_progress"></div>
</div>
<fieldset class="question-row">
<label class="qr_item" for="t_yes">
<input type="radio" name="timeline" id="t_yes" value="yes">
<b>Yes,</b> I have a date in mind
</label>
<label class="qr_item" for="t_no">
<input type="radio" name="timeline" id="t_no" value="no">
<b>No,</b> I would like help managing my timeline
</label>
</fieldset>
<div class="form-nav-buttons">
<a class="secondary-btn" onclick="previousQuestion()">Back</a>
<input type="submit" value="Submit">
</div>
</div>
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="./papaparse.min.js"></script>
<script src="script.js"></script>
</body>
</html>