This repository was archived by the owner on Apr 23, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsuggestion.html
More file actions
108 lines (100 loc) · 5.5 KB
/
suggestion.html
File metadata and controls
108 lines (100 loc) · 5.5 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="assets/icon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600;700&display=swap">
<link rel="stylesheet" href="styles/reset.css">
<link rel="stylesheet" href="styles/root.css">
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="components/navbar.css">
<link rel="stylesheet" href="components/form.css">
<link rel="stylesheet" href="components/button.css">
<link rel="stylesheet" href="components/footer.css">
<title>Suggestion</title>
</head>
<body>
<header class="site-header">
<nav class="navbar">
<div class="brand-name">
<img src="assets/icon.png" alt="TosTovSiemReap Logo" class="brand-name__logo">
<span class="brand-name__title">TosTovSiemReap</span>
</div>
<button class="navbar__hamburger" id="hamburger">
<span class="hamburger__line"></span>
<span class="hamburger__line"></span>
<span class="hamburger__line"></span>
</button>
<ul class="navbar__links" id="navbar-menu">
<li class="navbar__item"><a class="navbar__item-link" href="index.html">Home</a></li>
<li class="navbar__item"><a class="navbar__item-link" href="food.html">Food</a></li>
<li class="navbar__item"><a class="navbar__item-link" href="chill.html">Chill Spot</a></li>
<li class="navbar__item"><a class="navbar__item-link" href="historical.html">Historical Site</a></li>
</ul>
</nav>
</header>
<main class="page-main">
<section class="section">
<div class="suggest-form__container">
<h1>Suggest a New Place</h1>
<p>Know a hidden gem in Siem Reap? Share your favorite spots to help fellow travelers.</p>
<form class="suggest-form" action="#" method="post">
<div class="suggest-form__section">
<h2 class="suggest-form__legend">PLACE DETAILS</h2>
<label for="placename" class="suggest-form__label">Place Name *</label>
<input id="placename" type="text" name="placeName" placeholder="e.g. Bong Thom Street Food Corner" class="suggest-form__input" required/>
<label for="category" class="suggest-form__label">Category *</label>
<select id="category" name="category" class="suggest-form__select" required>
<option value="">Select a category</option>
<option value="food">Food & Dining</option>
<option value="chill">Chill Spot</option>
<option value="historical">Historical Site</option>
<option value="other">Other</option>
</select>
<label for="description" class="suggest-form__label">Description *</label>
<textarea id="description" name="description" rows="4" placeholder="What makes this place special?" class="suggest-form__textarea" required></textarea>
<label for="whyVisit" class="suggest-form__label">Why should travelers visit?</label>
<textarea id="whyVisit" name="whyVisit" rows="3" placeholder="Share a personal tip or experience." class="suggest-form__textarea"></textarea>
</div>
<div class="suggest-form__section">
<h2 class="suggest-form__legend">LOCATION & LINKS</h2>
<label for="address" class="suggest-form__label">Address</label>
<input id="address" type="text" name="address" placeholder="e.g. Street 26, Old Market Area" class="suggest-form__input"/>
<label for="map" class="suggest-form__label">Google Maps Link</label>
<input id="map" type="url" name="mapLink" placeholder="https://maps.google.com/..." class="suggest-form__input"/>
<label for="email" class="suggest-form__label">Email</label>
<input id="email" type="email" name="submitterEmail" placeholder="your@email.com" class="suggest-form__input"/>
</div>
<button class="button" type="submit">Submit Suggestion</button>
</form>
</div>
</section>
</main>
<footer class="site-footer">
<div class="brand-name">
<img src="assets/icon.png" alt="TosTovSiemReap Logo" class="brand-name__logo">
<span class="brand-name__title">TosTovSiemReap</span>
</div>
<p class="site-footer_copyright">© 2026 TosTovSiemReap. All rights reserved.</p>
</footer>
</body>
<script>
const hamburger = document.getElementById('hamburger');
const navbarMenu = document.getElementById('navbar-menu');
hamburger.addEventListener('click', () => {
hamburger.classList.toggle('hamburger-toggled');
navbarMenu.classList.toggle('hamburger-toggled');
});
// Close menu when a link is clicked
const navLinks = navbarMenu.querySelectorAll('a');
navLinks.forEach(link => {
link.addEventListener('click', () => {
hamburger.classList.remove('hamburger-toggled');
navbarMenu.classList.remove('hamburger-toggled');
});
});
</script>
</html>