-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (56 loc) · 2.42 KB
/
index.html
File metadata and controls
66 lines (56 loc) · 2.42 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
<!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="./src/assets/images/favicon-32x32.png">
<title>Frontend Mentor | IP Address Tracker</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.3/dist/leaflet.css" integrity="sha256-kLaT2GOSpHechhsozzB+flnD+zUyjE2LlfWPgU04xyI=" crossorigin="" />
<script defer src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js" integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM=" crossorigin=""></script>
<link rel="stylesheet" href="/src/sass/index.scss">
<script type="module" src="/src/js/controller.js"></script>
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>
<header>
<h1 class="header__heading">IP Address Tracker</h1>
<form action="#" class="header__form">
<label for="ip"></label>
<input type="text" id="ip" class="header__input" name="ip" placeholder="Search for any IP address or domain" autocomplete="off">
<button class="header__submit" type="submit">
<img class="header__arrow" src="/src/assets/images/icon-arrow.svg" alt="arrow-icon">
</button>
</form>
<div class="header__tracer-data">
<!-- <div class="header__detail-container">
<h2 class="header__tracer-title">IP Address</h2>
<p class="header__tracer-content">192.168.29.239</p>
</div>
<div class="header__detail-container">
<h2 class="header__tracer-title">Location</h2>
<p class="header__tracer-content">Centreville, US 20120</p>
</div>
<div class="header__detail-container">
<h2 class="header__tracer-title">Timezone</h2>
<p class="header__tracer-content">UTC -04:00</p>
</div>
<div class="header__detail-container">
<h2 class="header__tracer-title">isp</h2>
<p class="header__tracer-content">SpaceX Starlink</p>
</div> -->
</div>
</header>
<main>
<div id="map"></div>
</main>
<!--
UTC add offset value dynamically using the API -->
<!-- <div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Your Name Here</a>.
</div> -->
</body>
</html>