-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomedepot_survey.html
96 lines (86 loc) · 2.83 KB
/
homedepot_survey.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home Depot Survey</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #F4F4F4;
color: #333;
margin: 0;
padding: 20px;
text-align: center;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: #fff;
border: 1px solid #ccc;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #ED7A00; /* Home Depot orange */
}
.question-box {
border: 2px solid #ED7A00; /* Home Depot orange */
padding: 15px;
margin-bottom: 20px;
border-radius: 5px;
text-align: left;
}
.timer {
margin-top: 10px;
font-size: 1.2em;
color: #ED7A00;
}
.buttons {
margin-top: 20px;
}
button {
background-color: #ED7A00;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
margin: 0 5px;
}
button[disabled] {
background-color: #ccc;
cursor: not-allowed;
}
.back-button {
background-color: #666;
}
</style>
</head>
<body>
<div class="container">
<h1>Home Depot Survey</h1>
<form id="survey-form">
<div id="question-container">
<div class="question-box">
<p id="question-text">Question 1: How would you rate your overall experience with Home Depot?</p>
<div>
<input type="radio" name="question1" id="q1a" value="1"> 1 - Very Poor<br>
<input type="radio" name="question1" id="q1b" value="2"> 2 - Poor<br>
<input type="radio" name="question1" id="q1c" value="3"> 3 - Average<br>
<input type="radio" name="question1" id="q1d" value="4"> 4 - Good<br>
<input type="radio" name="question1" id="q1e" value="5"> 5 - Excellent<br>
</div>
</div>
<div class="timer">Time remaining: <span id="timer">10</span> seconds</div>
</div>
<div class="buttons">
<button class="back-button" type="button" onclick="goBack()">Back</button>
<button id="next-button" type="button" disabled onclick="nextQuestion()">Next</button>
</div>
</form>
</div>
<script src="homedepot_survey.js"></script>
</body>
</html>