-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
32 lines (28 loc) · 1.13 KB
/
about.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About</title>
<link rel="stylesheet" href="aboutstyle.css">
</head>
<body>
<h1>Sites In My City</h1>
<h2>About:</h2>
This website was developed by Arjun Rajesh Khamkar, as a service to the wonderful city of Kolhapur.
<br>
<br>The webiste serves to index and organize the various 'sites'; which include everything from heritage, social importance, scenic importance and everythingthat needs documentation but isnt readily documented and even if it is, not properly index to enable quick search.
<div class="references">
<button id="references"> Show References</button>
</div>
</body>
</html>
<script>
const referenceButton = document.querySelector('.references button');
// Function to add click event listeners to buttons
const addButtonListener = (button, url) => {
button.addEventListener('click', () => window.location.href = url);
};
// Add click event listeners to buttons
addButtonListener(referenceButton, 'reference.html');
</script>