-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (58 loc) · 2.21 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
<!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">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<title>IP Address Tracker</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
</head>
<body>
<div class="upper-body">
<div class= "heading">
<h2>IP Address Tracker</h2>
</div>
<div class= "search-box">
<div class="search-wrapper">
<input type="text" class="search" id = "search" placeholder="Search for any IP address or domain">
<button class="submit" id="submit" onclick=" mapload(); "><img src="images/icon-arrow.svg"></button>
</div>
</div>
</div>
<div class="stats-display">
<div class="stats-wrapper">
<div class="ip-display" style="border: none;">
<p>IP ADDRESS</p>
<h2 id="ip-stats">192.212.174.101</h2>
</div>
<div class = "location-display">
<p>LOCATION</p>
<h2 id="location-stats" >Brooklyn, NY 10001</h2>
</div>
<div class="timezone-display">
<p>TIMEZONE</p>
<h2 id="timezone-stats" >UTC -05:00</h2>
</div>
<div class="isp-display">
<p>ISP</p>
<h2 id="isp-stats">Spacex Starlink</h2>
</div>
</div>
</div>
<div class = "lower-body" id = "mapid">
</div>
<!--<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Saurabh Kumar</a>.-->
</div>
</body>
</html>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script src="script.js"></script>