|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 7 | + <title>Weather App</title> |
| 8 | + <link rel="stylesheet" href="style/style.css" /> |
| 9 | + <link |
| 10 | + rel="stylesheet" |
| 11 | + href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" |
| 12 | + /> |
| 13 | + <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 14 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
| 15 | + <link |
| 16 | + href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" |
| 17 | + rel="stylesheet" |
| 18 | + /> |
| 19 | + <link rel="stylesheet" href="style/fadeIn.css" /> |
| 20 | + <script src="script/main.js" type="module"></script> |
| 21 | + <script |
| 22 | + src="https://kit.fontawesome.com/8b37be8fdd.js" |
| 23 | + crossorigin="anonymous" |
| 24 | + ></script> |
| 25 | + </head> |
| 26 | + <body> |
| 27 | + <div class="container"> |
| 28 | + <header class="fade-in"> |
| 29 | + <div class="search"> |
| 30 | + <form id="search__form"> |
| 31 | + <input |
| 32 | + type="text" |
| 33 | + id="search__bar" |
| 34 | + class="search__bar" |
| 35 | + placeholder="City, State or Country" |
| 36 | + /> |
| 37 | + <button id="search__button" class="search__button"> |
| 38 | + <i class="fa fa-search"></i> |
| 39 | + </button> |
| 40 | + </form> |
| 41 | + </div> |
| 42 | + </header> |
| 43 | + <main id="main" class="fade-in"> |
| 44 | + <!-- <div id="temp" class="temp"> |
| 45 | + <h1>53°</h1> |
| 46 | + <p>C</p> |
| 47 | + </div> |
| 48 | + <div class="weather-icon" id="weather-icon"> |
| 49 | + <i class="fa fa-sun-o"></i> |
| 50 | + </div> |
| 51 | + <div class="location" id="location"><p>New York</p></div> --> |
| 52 | + </main> |
| 53 | + <footer id="footer" class="fade-in"> |
| 54 | + <!-- <div class="humidity" id="humidity"> |
| 55 | + <h2>58%</h2> |
| 56 | + <p>humidity</p> |
| 57 | + </div> |
| 58 | + <div class="wind" id="wind"> |
| 59 | + <h2>52mph</h2> |
| 60 | + <p>wind-speed</p> |
| 61 | + </div> --> |
| 62 | + </footer> |
| 63 | + </div> |
| 64 | + </body> |
| 65 | +</html> |
0 commit comments