Advertisement
Guest User

index.html

a guest
Jun 5th, 2020
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.08 KB | None | 0 0
  1. <!doctype html>
  2. <html>
  3.     <head>
  4.         <title>APOD</title>
  5.         <meta charset="UTF-8">
  6.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
  7.         <style>
  8.             #speed-container {
  9.                 position: fixed;
  10.                 right: 2em;
  11.                 bottom: 0;
  12.             }
  13.             h1, h2, #start {
  14.                 color: white;
  15.             }
  16.             table {
  17.                 background-color: white;
  18.                 margin-bottom: 2em;
  19.             }
  20.         </style>
  21.     </head>
  22.     <body>
  23.        
  24.         <header class="row">
  25.             <nav class="blue darken-1">
  26.                 <div class="nav-wrapper">
  27.                     <div class="col s12">
  28.                         <a href="#" class="brand-logo">Nasa Coding Challenge</a>
  29.                     </div>
  30.                 </div>
  31.             </nav>
  32.         </header>
  33.         <div class="container">
  34.             <main>
  35.                 <section>
  36.                     <h1 class="center-align">Astronomy Picture Of the Day</h1>
  37.                     <div class="row">
  38.                         <div class="col s12 m8 offset-m2">
  39.                             <div id="apod" class="card">
  40.                                
  41.                             </div>
  42.                         </div>
  43.                     </div>
  44.                 </section>
  45.                 <aside>
  46.                     <h2>Astroid Feed</h2>
  47.                     <form class="col s12">
  48.                         <div class="row">
  49.                             <div class="input-field col s6">
  50.                                 <input type="text" id="start" class="datepicker">
  51.                                 <label for="start">Approach Date</label>
  52.                             </div>
  53.                         </div>
  54.                     </form>
  55.                     <table id="afeedTable" class="striped hide">
  56.                         <thead>
  57.                             <tr>
  58.                                 <th>Id</th>
  59.                                 <th>Name</th>
  60.                                 <th>Is Dangerous</th>
  61.                                 <th>Magnitude</th>
  62.                                 <th>Min</th>
  63.                                 <th>Max</th>
  64.                                 <th>Miss Distance</th>
  65.                                 <th>Approach Date</th>
  66.                             </tr>
  67.                         </thead>
  68.                         <tbody id="afeed">
  69.                            
  70.                         </tbody>
  71.                     </table>
  72.                 </aside>
  73.             </main>
  74.         </div>
  75.         <footer class="page-footer blue darken-1">
  76.             <div class="container">
  77.                 <div class="row">
  78.                 <div class="col l6 s12">
  79.                     <h5 class="white-text">Nasas Coding Challenge</h5>
  80.                     <p class="grey-text text-lighten-4">Make this in an hour or lesss ;) I failed</p>
  81.                 </div>
  82.                 <div class="col l4 offset-l2 s12">
  83.                     <h5 class="white-text">Astronaut</h5>
  84.                     <ul>
  85.                         <li><a target="_blank" class="grey-text text-lighten-3" href="https://stackoverflow.com/users/3589092/kemicofa">kemicofa</a></li>
  86.                     </ul>
  87.                 </div>
  88.                 </div>
  89.             </div>
  90.             <div class="footer-copyright">
  91.                 <div class="container">
  92.                 © 2018 kemicofa
  93.                 </div>
  94.             </div>
  95.         </footer>
  96.  
  97.         <div id="speed-container" class="range-field">
  98.             <label for="speed-slider">Travel Speed</label>
  99.             <input value="20" type="range" id="speed-slider" step="1" min="0" max="100" />
  100.         </div>
  101.    
  102.         <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
  103.         <script src="nasa.js"></script>
  104.         <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.js"></script>
  105.         <script src="starfield.js"></script>
  106.     </body>
  107. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement