├── images ├── clouds.png ├── cloudy.png ├── foggy.png ├── partly.png ├── rain.png ├── search.png ├── storm.png ├── sunny.png ├── wind.png ├── snowflake.png └── temperature.png ├── style.css └── index.html /images/clouds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/clouds.png -------------------------------------------------------------------------------- /images/cloudy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/cloudy.png -------------------------------------------------------------------------------- /images/foggy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/foggy.png -------------------------------------------------------------------------------- /images/partly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/partly.png -------------------------------------------------------------------------------- /images/rain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/rain.png -------------------------------------------------------------------------------- /images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/search.png -------------------------------------------------------------------------------- /images/storm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/storm.png -------------------------------------------------------------------------------- /images/sunny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/sunny.png -------------------------------------------------------------------------------- /images/wind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/wind.png -------------------------------------------------------------------------------- /images/snowflake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/snowflake.png -------------------------------------------------------------------------------- /images/temperature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Moeez-Rajpoot/Weather-WebApp/HEAD/images/temperature.png -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | .my-class { 2 | 3 | background: linear-gradient(135deg, #00feba , #5b5481); 4 | } 5 | 6 | 7 | .bubble::after { 8 | content: ''; 9 | border-top-left-radius: 50% 100%; 10 | border-top-right-radius: 50% 100%; 11 | position: absolute; 12 | bottom: 0; 13 | z-index: -1; 14 | width: 100%; 15 | background-color: #0f0f10; 16 | height: 85%; 17 | } 18 | 19 | 20 | .cardy{ 21 | 22 | text-align: center; 23 | margin: 100px auto 0; 24 | padding: 35px 35px; 25 | background: linear-gradient(135deg, #00feba , #5b5481); 26 | max-width: 470px; 27 | width: 50%; 28 | border-radius: 30px; 29 | 30 | 31 | } 32 | 33 | .row{ 34 | display: flex; 35 | align-items: center; 36 | justify-content: space-between; 37 | } 38 | 39 | .cardy input{ 40 | 41 | flex:1; 42 | border-radius: 40px; 43 | border-color: transparent; 44 | padding: 15px; 45 | margin-right: 16px; 46 | } 47 | 48 | .cardy button{ 49 | border-radius: 50px; 50 | padding: 0px; 51 | outline: none; 52 | border-color: transparent; 53 | align-items: center; 54 | 55 | } 56 | 57 | .cardy button img{ 58 | 59 | border-radius: 50px; 60 | padding: 5px; 61 | align-items: center; 62 | cursor: pointer; 63 | height: 50px; 64 | width: 50px; 65 | } 66 | 67 | 68 | .details{ 69 | display: flex; 70 | align-items: center; 71 | display: none; 72 | } 73 | .weather{ 74 | 75 | display: none; 76 | } 77 | 78 | 79 | #temp{ 80 | margin-top: 20px; 81 | height: 100px; 82 | width: 100px; 83 | } 84 | .error{ 85 | color: red; 86 | float: left; 87 | margin-top: 5px; 88 | } 89 | 90 | #wind , #hum{ 91 | float: left; 92 | height: 60px; 93 | width: auto; 94 | padding: 0 10px; 95 | margin-top: 10px; 96 | } 97 | #speed ,#per{ 98 | 99 | font-size: 18px; 100 | margin-top: 15px; 101 | } 102 | 103 | .details p{ 104 | float: left;; 105 | margin-top: -20px; 106 | } 107 | 108 | #btn:hover{ 109 | 110 | width: 40px; 111 | height: 40px; 112 | background-color: #0f0f10; 113 | border-radius: 50px; 114 | 115 | } 116 | 117 | li:hover{ 118 | top: -0.5px; 119 | box-shadow: 0 3px rgb(16, 210, 236); 120 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Weather App 9 | 10 | 11 | 12 |
13 | 33 | 34 | 35 |
36 |
37 | 38 | Search button 39 | 40 | 41 |
42 | 43 |
44 | Temp 45 |

46 |

City

47 |
48 | 49 |
50 |
51 | humidity 52 |
53 |

54 |

Humidity

55 |
56 | 57 | 58 |
59 |
60 | wind speed 61 |
62 |

63 |

Wind Speed

64 |
65 | 66 |
67 |
68 |
69 |
70 | 171 | 172 | 173 | --------------------------------------------------------------------------------