diff --git a/images/clear.png b/images/clear.png new file mode 100644 index 0000000..d2bc413 Binary files /dev/null and b/images/clear.png differ diff --git a/images/clouds.png b/images/clouds.png new file mode 100644 index 0000000..75ef047 Binary files /dev/null and b/images/clouds.png differ diff --git a/images/drizzle.png b/images/drizzle.png new file mode 100644 index 0000000..01cd0e7 Binary files /dev/null and b/images/drizzle.png differ diff --git a/images/humidity.png b/images/humidity.png new file mode 100644 index 0000000..804ef0c Binary files /dev/null and b/images/humidity.png differ diff --git a/images/mist.png b/images/mist.png new file mode 100644 index 0000000..15ee1fd Binary files /dev/null and b/images/mist.png differ diff --git a/images/rain.png b/images/rain.png new file mode 100644 index 0000000..5c436c8 Binary files /dev/null and b/images/rain.png differ diff --git a/images/search.png b/images/search.png new file mode 100644 index 0000000..95ec64e Binary files /dev/null and b/images/search.png differ diff --git a/images/snow.png b/images/snow.png new file mode 100644 index 0000000..e03778d Binary files /dev/null and b/images/snow.png differ diff --git a/images/wind.png b/images/wind.png new file mode 100644 index 0000000..b9811a6 Binary files /dev/null and b/images/wind.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..380012e --- /dev/null +++ b/index.html @@ -0,0 +1,84 @@ + + + + + + Weatherify + + + + +
+ +
+

Invalid City Name

+
+
+ defaultweather +

22°C

+

New York

+
+
+ humidity +
+

50%

+

Humidity

+
+
+
+ humidity +
+

15kmph

+

Wind Speed

+
+
+
+
+
+ + + diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..b0dba81 --- /dev/null +++ b/styles.css @@ -0,0 +1,109 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: 'Poppins', sans-serif; + color: #ffffff; +} + +body { + background: #222; +} + +.card { + background: linear-gradient(135deg, #3494E6, #EC6EAD); + width: 90%; + max-width: 470px; + margin: 100px auto 0; + border-radius: 20px; + padding: 40px 35px; + text-align: center; +} + +.search { + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; +} + +.search input { + height: 60px; + padding: 10px 25px; + border: 0; + outline: 0; + background: #ebfffc; + color: #555; + border-radius: 30px; + flex: 1; + margin-right: 16px; + font-size: 18px; +} + +.search button { + border: 0; + outline: 0; + background: #ebfffc; + border-radius: 50%; + width: 60px; + height: 60px; + cursor: pointer; +} + +.search button img { + width: 16px; +} + +.weatherIcon { + width: 170px; + margin-top: 30px; +} + +.weather h1 { + font-size: 80px; + font-weight: 500; +} + +.weather h2 { + font-size: 45px; + font-weight: 400; + margin-top: -10px; +} + +.details { + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 20px; + margin-top: 50px; +} + +.col { + display: flex; + align-items: center; + text-align: left; + +} + +.col img { + width: 20px; + + margin-right: 10px; +} + +.humidity .wind { + font-size: 28px; + margin-top: -6px; +} + +.weather { + display: none; +} + +.error { + display: none; + text-align: left; + margin-left: 10px; + font-size: 14px; + margin-top: 10px; +} \ No newline at end of file