-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (68 loc) · 2.07 KB
/
index.html
File metadata and controls
82 lines (68 loc) · 2.07 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>IPTrax - IP Address Tracker</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<link rel="icon"
type="image/png"
sizes="32x32"
href="src/img/ip.png">
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap"
rel="stylesheet">
<link rel="stylesheet"
href="src/css/style.css">
<link rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.1/dist/leaflet.css"
integrity="sha256-sA+zWATbFveLLNqWO2gtiw3HL/lh1giY/Inf1BJ0z14="
crossorigin="" />
<script defer
src="https://unpkg.com/leaflet@1.9.1/dist/leaflet.js"
integrity="sha256-NDI0K41gVbWqfkkaHj15IzU7PtMoelkzyKp8TOaFQ3s="
crossorigin=""></script>
<script defer
type="module"
src="src/js/controller.js"></script>
</head>
<body>
<header>
<p class="attribution">Made by <a href="https://github.com/Ismail970"
target="_blank">Ismail</a>.</p>
<h1 class="header__title">IPTrax</h1>
<form action=""
class="header__ip-input">
<input type="text"
name="Ip"
id="ip-input"
placeholder="Search for any IP address..."
aria-label="Type the ip you want to search">
<button type="submit"
class="header__input-btn"><img src="src/img/icon-arrow.svg"
alt="right arrow"></button>
</form>
<main class="header__ip-info">
<span class="loader hidden"></span>
<div class="ip-info-container">
<div>
<h6>IP Address</h6>
<p id="ip-text"></p>
</div>
<div>
<h6>Location</h6>
<p id="location-text"></p>
</div>
<div>
<h6>Timezone</h6>
<p>UTC <span id="timezone-text"></span></p>
</div>
<div>
<h6>ISP</h6>
<p id="isp-text"></p>
</div>
</div>
</main>
</header>
<div id="map"></div>
</body>
</html>