-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (43 loc) · 1.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="This is where your description goes">
<meta name="keywords" content="one, two, three">
<title>Nasa</title>
<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=Baloo+Da+2:wght@400;500;600;700;800&family=Josefin+Slab:ital,wght@0,400;0,600;1,300;1,400;1,600&display=swap" rel="stylesheet">
<!-- external CSS link -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header class="header" id="home">
<section class="img-wrapper">
<img src="space.jpg" alt="outer space">
</section>
<section class="banner">
<h1>NASA's Pic of the Day</h1>
<p>Nasa posts one unique picture every day. You can look back through time and find a picture by entering a specific date below.</p>
<button><a href="#try-it"> Try It Now </a></button>
</section>
</header>
<section class="container" id="try-it">
<section class="box one">
<h2>Which date?</h2>
<input type="date" name="" value="">
<button type="button" name="button" id="get-pic">Get Media</button>
<h2>Name: <span id="name"></span></h2>
<h3>Description: </h3>
<p id="explanation"></p>
</section>
<section class="box two">
<img id="pic-of-day" >
<iframe id="vid-of-day" src="" class="hidden"></iframe>
</section>
</section>
<script type="text/javascript" src="js/main.js"></script>
<script type='text/javascript' src='js/config.js'></script>
</body>
</html>