-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (108 loc) · 4.99 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Star/Planet/Constellation Tracker</title>
<!-- Bulma CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link rel="stylesheet" type="text/css" href="style/project.css"/>
</head>
<body>
<header class="hero is-link block">
<div class="hero-body">
<a href="https://en.wikipedia.org/wiki/Saturn" target="_blank">
<img src="saturn-rings-1024x538.webp" alt="saturn" class="logo-image">
</a>
<a href="https://en.wikipedia.org/wiki/Kepler-452b" target="_blank">
<img src="earth2.jpg" alt="Kepler" class="new-image">
</a>
<h1 class="title is-1 has-text-centered">CelesTracker</h1>
<p class="subtitle has-text-centered">Web App for Finding Stars, Planets, and Constellations</p>
</div>
</div>
</header>
<main class="tile is-ancestor is-vertical">
<section class="tile is-parent block">
<div class="tile is-child is-1.5">
</div>
<div class="tile is-child is-4 notification is-info has-text-white">
<h2 class="is-size-3">Enter your City:</h2>
</div>
<div class="tile is-child is-1">
</div>
<div class="control tile is-child is-4 is-info">
<input id="cityInput" class="input is-large is-link" type="text" placeholder="Austin">
</div>
<div class="tile is-child is-1.5">
</div>
</section>
<section class="tile is-parent block" id="starEntry">
<div class="tile is-child is-1.5">
</div>
<div class="tile is-child is-4 notification is-info has-text-white">
<h2 class="is-size-5">What star, planet, or constellation would you like to see?</h2>
</div>
<div class="tile is-child is-1">
</div>
<div class="control tile is-child is-4 is-info">
<input class="input is-large is-link" type="text" list="celestialBodies" placeholder="Ursa Major" id="starList">
<datalist id="celestialBodies">
</datalist>
</div>
<div class="tile is-child is-1.5">
</div>
</section>
<section class="columns is-centered tile is-parent block">
<div class="control tile is-child is-4">
<button id="searchButton" class="button is-primary is-large is-fullwidth has-text-black">Search</button>
</div>
</section>
<section class="tile is-parent block" id="resultsArea">
<div class="tile is-child is-1.5">
</div>
<div class="tile is-child is-3 notification is-success">
<figure class="image is-4by3">
<img id="starPhoto" >
</figure>
</div>
<div class="tile is-child is-1">
</div>
<div class="tile is-child is-3 notification is-success has-text-black">
<p hidden>Primar lorem ipsum dolor sit amet, consectetur adipiscing elit lorem ipsum dolor.<strong>Pellentesque risus mi</strong>, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum <a>felis venenatis</a> efficitur.
</p>
</div>
<div class="tile is-child is-1"></div>
</div>
<div class="tile is-child is-3 notification is-success has-text-black">
<p class="has-text-weight-bold" id="planetAltitude"></p>
<p class="has-text-weight-bold" id="planetAzimuth"></p>
<p class="is-hidden" id="helpText">These are the coordinates through which you can see this celstial body in the sky.</p>
</div>
<div class="tile is-child is-1.5">
<a href="https://en.wikipedia.org/wiki/Pluto" target="_blank">
<img src="Pluto_.jpg" alt="Pluto" class="logo-image1">
</a>
</div>
</div>
</section>
</main>
<div id="too-cloudy" class="modal">
<div class="modal-background"></div>
<div class="modal-content">
<div class="box">
<h3 id="errorMessage">It's too cloudy to see celestial bodies in this city.</h3>
</div>
</div>
<button class="modal-close is-large" aria-label="close"></button>
</div>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dayjs.min.js"
integrity="sha256-iu/zLUB+QgISXBLCW/mcDi/rnf4m4uEDO0wauy76x7U="
crossorigin="anonymous"
></script>
<script src="./js/project.js"></script>
<a href="https://en.wikipedia.org/wiki/Milky_Way" target="_blank">
<img src="MWIMG.webp" alt="milkyway galaxy image" id="galaxyimg">
</body>
</html>