-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (55 loc) · 2.12 KB
/
index.html
File metadata and controls
67 lines (55 loc) · 2.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Civil Bridge</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<nav>
<h1>Civil Bridge</h1>
<ul>
<li><a href="#" onclick="showLoginForm()">Login</a></li>
<li><a href="#">Help</a></li>
</ul>
</nav>
<section class="hero" id="hero">
<h2>Connecting Citizens with Authorities</h2>
<p>Bridge the gap by reporting civic issues directly to your local boards.</p>
<button class="start-btn" onclick="showLoginForm()">Start</button>
</section>
<!-- Sliding Form Container -->
<div class="form-wrapper" id="formWrapper">
<div class="forms-container">
<!-- Login Form -->
<div class="form-box" id="loginForm">
<h3>Login</h3>
<input type="text" id="Username" placeholder="Username or Email">
<input type="password" id="password" placeholder="Password">
<button onclick="submitLogin()">Login</button>
<p>Don't have an account?
<a href="#" onclick="showRegisterForm()">Register</a>
</p>
</div>
<div class="form-box" id="registerForm">
<h3>Register</h3>
<input type="text" id="name" placeholder="Full Name" required>
<input type="email" id="email" placeholder="Email" required>
<input type="text" id="phone" placeholder="Phone Number" required>
<input type="text" id="address" placeholder="Address / Locality" required>
<input type="password" id="passwordReg" placeholder="Create Password" required>
<button onclick="submitRegister()">Register</button>
<p>Already have an account?
<a href="#" onclick="showLoginForm()">Login</a>
</p>
</div>
</div>
</div>
<footer>
© 2025 Civil Bridge | Built for a Better Tomorrow
</footer>
<script src="script.js"></script>
</body>
</html>