-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (69 loc) · 2.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="style.css">
<title>Frontend Mentor | IP Address Tracker</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css">
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_GOOGLE_MAPS_API_KEY"></script>
</head>
</head>
<body>
<div class="topBar">
<p class="title"> IP Address Tracker</p>
<div class="searchBar">
<input type="text" class="search-input" placeholder="Search any IP address or domain">
<div class="searchButton">
<svg xmlns="http://www.w3.org/2000/svg" width="11" height="14">
<path fill="none" stroke="#FFF" stroke-width="3" d="M2 1l6 6-6 6" />
</svg>
</div>
</div>
<div class="result">
<div class="IP">
<p class="heading">IP ADDRESS</p>
<p class="IP-result">192.212.174.101</p>
</div>
<div class="location">
<p class="heading">LOCATION</p>
<p class="location-result">Brroklyn, NY 10001</p>
</div>
<div class="timezone">
<p class="heading">TIMEZONE</p>
<p class="timezone-result">UTC - 05:00</p>
</div>
<div class="ISP">
<p class="heading">ISP</p>
<p class="ISP-result">SpaceX Starlink</p>
</div>
</div>
</div>
<div id="map">
<!-- <button class="up">
<svg xmlns="http://www.w3.org/2000/svg" width="11" height="14">
<path fill="none" stroke="#FFF" stroke-width="3" d="M2 1l6 6-6 6" />
</svg>
</button> -->
</div>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Sahil Batgeri</a>.
</div>
<!-- <script>getUserLocation();</script> -->
</body>
<script src="script.js"></script>
</html>