-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
94 lines (77 loc) · 3.74 KB
/
Copy pathform.html
File metadata and controls
94 lines (77 loc) · 3.74 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="WDD 131 - Dynamic Web Fundamental- Web Forms practice and assignment task">
<meta name="author" content="Nwakwuruibe Bright">
<title>Product Review Form</title>
<link rel="stylesheet" href="styles/form.css">
<link rel="stylesheet" href="styles/form-medium.css">
<link rel="stylesheet" href="styles/form-large.css">
<script src="scripts/form.js" defer></script>
</head>
<body>
<header>
<h1>Product Review</h1>
</header>
<main>
<form method="get" action="review.html">
<!-- Product Selection -->
<div class="form-section">
<label for="product-name">Product Name</label>
<select id="product-name" name="product-name" required>
<option value="" disabled selected> Select a product </option>
</select>
</div>
<div class="form-section">
<p><strong>Overall Rating</strong> <span class="required">*</span></p>
<div class="rating-container">
<input type="radio" id="rating1" name="rating" value="1" required>
<label for="rating1">1</label>
<input type="radio" id="rating2" name="rating" value="2" required>
<label for="rating2">2</label>
<input type="radio" id="rating3" name="rating" value="3" required>
<label for="rating3">3</label>
<input type="radio" id="rating4" name="rating" value="4" required>
<label for="rating4">4</label>
<input type="radio" id="rating5" name="rating" value="5" required>
<label for="rating5">5</label>
</div>
</div>
<div class="form-section">
<label for="install-date">Date of Installation</label>
<input type="date" id="install-date" name="install-date" required>
</div>
<div class="form-section">
<p><strong>Which features did you find useful? (Check all that apply)</strong></p>
<!-- Checkboxes -->
<div class="checkbox-group">
<input type="checkbox" id="feature-durability" name="features" value="durability">
<label for="feature-durability">Durability</label>
<input type="checkbox" id="feature-design" name="features" value="design">
<label for="feature-design">Design</label>
<input type="checkbox" id="feature-ease" name="features" value="ease">
<label for="feature-ease">Ease of Use</label>
<input type="checkbox" id="feature-performance" name="features" value="performance">
<label for="feature-performance">High Performance</label>
</div>
</div>
<div class="form-section">
<label for="review">Written Review (Optional)</label>
<textarea id="review" name="review" rows="4" placeholder="Share your experience..."></textarea>
</div>
<div class="form-section">
<label for="username">Your Name (Optional)</label>
<input type="text" id="username" name="username">
</div>
<input type="submit" value="Post Review">
</form>
</main>
<!-- FOOTER HERE -->
<footer>
<p>© <span id="currentyear"></span> | Nwakwuruibe Bright | Nigeria</p>
<p id="lastModified"></p>
</footer>
</body>
</html>