Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TheRealRajan/Time-and-Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation

Time-and-Weather

A time and weather app using JavaScript and OpenWeatherMap API.

You can chooose between darkmode and lightmode by pressing the Sun/Moon button.

You can enter the city name and press enter to get the weather data of the city at the current time.

The weather data is fetched from OpenWeatherMap and Countryflag.io's APIs which shows the City name,Country name, Country flag, Weather condition , Temperature, and Wind speed at the current time.

You can see the the analog clock as well as the digital one accurate to the second. The second, minute and hour hands are animated using CSS animations. The date is also shown alongside the time.

APIs used

OpenWeatherMap for weather data
FlagsAPI for flag images.


Any suggestions to improve the app are always welcome.