-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (62 loc) · 2.22 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 -->
<meta name="author" content="Sulaiman Ifeoluwa">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="style.css">
<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:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-kLaT2GOSpHechhsozzB+flnD+zUyjE2LlfWPgU04xyI="
crossorigin=""/>
<!-- Make sure you put this AFTER Leaflet's CSS -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM="
crossorigin=""></script>
<script src="jquery-3.6.3.min.js"></script>
<title>Frontend Mentor | IP Address Tracker</title>
</head>
<body>
<header class="hero-section">
<h1>IP Address Tracker</h1>
<div class="input-session">
<input type="text" id="ip-address-no" placeholder="Search for any ip address">
<button type="button" class="submit-button" onclick="getLocation()"></button>
<p></p>
</div>
<div class="details">
<!--loading animation-->
<div class="loader">
<div class="loader-image"></div>
<p>tracking...</p>
</div>
<div class="inner-content">
<div class="content-details">
<h3>IP ADDRESS</h3>
<p class="ip-address-value"></p>
</div>
<div class="content-details">
<h3>LOCATION</h3>
<p class="location-value"></p>
</div>
<div class="content-details">
<h3>TIMEZONE</h3>
<p class="timezone-value"></p>
</div>
<div class="content-details">
<h3>ISP</h3>
<P class="isp-value"></P>
</div>
</div>
</div>
</header>
<main id="map">
<div class="pin-location" title="pin Location">
</div>
</main>
</body>
<script src="script.js"></script>
</html>