Skip to content

Commit

Permalink
Create index1.html
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh23049 authored Aug 23, 2024
1 parent bb5b6a0 commit 556c6cc
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions index1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neighborhood Safety Reporting</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" />
</head>
<body>
<header>
<h1>Neighborhood Safety Reporting</h1>
<nav>
<ul>
<li><a href="#login" id="nav-login">Login</a></li>
<li><a href="#report" id="nav-report">Report Issue</a></li>
<li><a href="#map" id="nav-map">View Map</a></li>
<li><a href="#discuss" id="nav-discuss">Discuss</a></li>
<li><a href="#" id="nav-logout" style="display:none;">Logout</a></li>
</ul>
</nav>
</header>

<main>
<section id="login">
<h2>Login</h2>
<form id="login-form">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>

<label for="password">Password:</label>
<input type="password" id="password" name="password" required>

<button type="submit">Login</button>
</form>
</section>

<section id="report" style="display:none;">
<h2>Report an Issue</h2>
<form id="report-form">
<label for="location">Location:</label>
<input type="text" id="location" name="location" required>

<label for="description">Description:</label>
<textarea id="description" name="description" required></textarea>

<button type="submit">Submit</button>
</form>
</section>

<section id="map" style="display:none;">
<h2>Map of Incidents</h2>
<div id="map-container"></div>
</section>

<section id="discuss" style="display:none;">
<h2>Discussion Forum</h2>
<div id="discussion-container">
<textarea id="discussion-input" placeholder="Share your thoughts..."></textarea>
<button id="post-button">Post</button>
<div id="discussion-feed"></div>
</div>
</section>
</main>

<footer>
<p>&copy; 2024 Neighborhood Safety Reporting</p>
</footer>

<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<script src="script.js"></script>
</body>
</html>

0 comments on commit 556c6cc

Please sign in to comment.