-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (62 loc) · 2.56 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
<!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>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
crossorigin=""/>
<!-- Make sure you put this AFTER Leaflet's CSS -->
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
crossorigin=""></script>
<!-- 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>
</head>
<body>
<div class="ipaddresscontainer">
<h1 id="displ" class="main-heading">IP Address Tracker</h1>
<div class="input-container">
<input class="userinput" id="ipaddr" type="text" placeholder="Search for any IP address or domain"/>
<button id="submitBtn" class="button1"><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>
<p style="align-self:flex-end" id="ErrMsg"></p>
</div>
<div class="details-container">
<div style="margin-left:15px;" class="detail">
<p class="detail-style">I P A D D R E S S</p>
<h3 id="ipaddress" class="resultstyle">192.212.174.101</h3>
</div>
<hr style="margin-right:15px;" class="line"/>
<div class="detail">
<p class="detail-style">L O C A T I O N</p>
<h3 id="locations" class="resultstyle">Brooklyn, NY 10001</h3>
</div>
<hr style="margin-right:15px;" class="line"/>
<div class="detail">
<p class="detail-style">T I M E Z O N E</p>
<h3 id="timezone" class="resultstyle">UTC -05:00</h3>
</div>
<hr style="margin-right:15px;" class="line"/>
<div style="margin-right:15px;" class="detail">
<p class="detail-style">I S P</p>
<h3 id="isp" class="resultstyle">SpaceX Starlink</h3>
</div>
</div>
<div style="width:100%">
<div id="map">
</div>
</div>
</div>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Thatha Naga Chandu</a>.
</div>
<script src="script.js"></script>
</body>
</html>