AsifMahsud / pakOrbit

Weather forcast application using 7times api

Home Page:https://asifmahsud.github.io/pakOrbit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pakOrbit

Summary

pakOrbit is a weather forecasting application focused on various cities in Pakistan. The application fetches weather data from the 7Timer! API and displays it to the user in a user-friendly format. The main highlights of this solution include:

  • A simple and intuitive user interface.
  • Ability to select different cities in Pakistan to fetch weather data.
  • Display of weather data using relevant emojis and descriptions.
  • Option to toggle between Celsius and Fahrenheit temperature units.

Solution

The solution achieves its objectives by:

  1. Providing a dropdown menu for users to select their desired city.
  2. Fetching weather data from the 7Timer! API based on the selected city's latitude and longitude.
  3. Parsing and displaying the fetched data in a visually appealing manner using weather-related emojis and descriptions.
  4. Offering a toggle option for users to switch between Celsius and Fahrenheit temperature units.

Approach

The steps taken to complete the project include:

  1. Setting up the basic HTML structure with relevant CSS for styling.
  2. Integrating the 7Timer! API to fetch weather data.
  3. Writing JavaScript functions to handle the fetching, parsing, and displaying of weather data.
  4. Implementing a temperature unit toggle feature to switch between Celsius and Fahrenheit.

About

Weather forcast application using 7times api

https://asifmahsud.github.io/pakOrbit/

License:GNU General Public License v3.0


Languages

Language:JavaScript 45.2%Language:HTML 30.9%Language:CSS 23.8%