-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (78 loc) · 3.17 KB
/
index.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
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
<!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/svg" sizes="32x32" href="./images/icon-location.svg">
<title>IP Address Tracker</title>
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css"
integrity="sha256-46qynGAkLSFpVbEBog43gvNhfrOj+BmwXdxFgVK/Kvc=" crossorigin="anonymous" />
<!-- Rubik Font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap" rel="stylesheet">
<!-- Leaflet CSS -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.8.0/dist/leaflet.css"
integrity="sha512-hoalWLoI8r4UszCkZ5kL8vayOGVae1oxXe/2A4AO6J9+580uKHDO3JdHb7NzwwzK5xr/Fs0W40kiNHxM9vyTtQ=="
crossorigin="" />
<!-- Leaflet CSS -->
<script src="https://unpkg.com/leaflet@1.8.0/dist/leaflet.js"
integrity="sha512-BB3hKbKWOc9Ez/TAwyWxNXeoV9c1v6FIeYiBieIWkpLjauysF18NzgR1MBNBXf8/KABdlkX68nAhlwcDFLGPCQ=="
crossorigin=""></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<div class="top">
<h1 class="title">IP Address Tracker</h1>
<form action="" autocomplete="off">
<input type="text" id="ip-input" autofocus placeholder="Search for any IP address or domain">
<button type="submit"><img src="images/icon-arrow.svg" alt="Submit Button"></button>
</form>
<div class="info" id="info">
<div class="box ip-info-box">
<span class="field-name">ip address</span>
<span class="info-field" id="ip-info"></span>
</div>
<div class="box location-info-box">
<span class="field-name">location</span>
<span class="info-field" id="location-info"></span>
</div>
<div class="box timezone-info-box">
<span class="field-name">timezone</span>
<span class="info-field" id="timezone-info"></span>
</div>
<div class="box isp-info-box">
<span class="field-name">isp</span>
<span class="info-field" id="isp-info"></span>
</div>
</div>
</div>
<dialog id="modal">
<h3><i class="fas fa-exclamation-triangle"></i> OH SNAP</h3>
<p id="error-message"></p>
<button id="close-btn">Close</button>
</dialog>
<div id="map"></div>
</main>
<footer class="footer">
<p>Engineered with love by <a href="https://github.com/SartHak-0-Sach" target="_blank" rel="noopener">Sarthak Sachdev</a></p>
<div class="social">
<a href="https://github.com/SartHak-0-Sach" target="_blank" rel="noopener" title="social-link">
<i class="fab fa-facebook"></i>
</a>
<a href="https://www.instagram.com/sarthaksach3004/" target="_blank" rel="noopener" title="social-link">
<i class="fab fa-instagram"></i>
</a>
<a href="https://x.com/sarthak_sach69" target="_blank" rel="noopener" title="social-link">
<i class="fab fa-twitter"></i>
</a>
<a href="https://www.linkedin.com/in/sarthak2004/" target="_blank" rel="noopener" title="social-link">
<i class="fab fa-linkedin"></i>
</a>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>