Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Weather App #429

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Project Weather App #429

wants to merge 25 commits into from

Commits on Sep 27, 2024

  1. Add a HTML file with a basic structure. Add a JS file with DOM select…

    …ors and API URL and endpoints
    joheri1 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    9c2478e View commit details
    Browse the repository at this point in the history
  2. Remove example of what an API key looks like and how it should be use…

    …d that came along with the instructions, to avoid security leak mail from GitHub
    joheri1 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    6789ee9 View commit details
    Browse the repository at this point in the history
  3. Fetch data for City name, weather description, sunrise, sunset and te…

    …mperatur. Update DOM selectors and HTML with correct ID and names.
    joheri1 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    9d17817 View commit details
    Browse the repository at this point in the history
  4. Fetch data for forecast using async. Add variables for latitud and lo…

    …ngitud, and add forecast BASE_URL and forecast URL.
    joheri1 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b7ec8bb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a8a5a26 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. Make the function fetchTodayWeatherAsync dynamic by removing City as …

    …a global const and place the const for todayURL inside the function, and finally add city as a parameter to that function. Test dynamic city by adding Las Vegas as a param in function invocation
    joheri1 committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    b0f7e29 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. HTML: Add HTML element for five-day forecast. Delete element Weekday …

    …and Temp. JS: Fix forecast filtering, add forEach loop to display forecast at 12:00 and to add day name using weekdays array.
    joheri1 committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    85b4e96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70c33e6 View commit details
    Browse the repository at this point in the history
  3. Convert Sunset/Sunrise from seconds to milliseconds by multiplying by…

    … 1000, which the date object requires
    joheri1 committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    d1998e0 View commit details
    Browse the repository at this point in the history
  4. Add CSS styling. Adapt app do different screen sizes. Add weather ico…

    …ns for sun, cloudy and few clouds.
    joheri1 committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    ca9a504 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2ede3e4 View commit details
    Browse the repository at this point in the history
  6. Update weather icaon paths

    joheri1 committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    6f7212d View commit details
    Browse the repository at this point in the history
  7. Add more CSS Styling

    joheri1 committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    13277fd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ed47e82 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Adapt site to desktop

    joheri1 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    d1063b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fe39b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d83dc2 View commit details
    Browse the repository at this point in the history
  4. Update code

    joheri1 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    1b94468 View commit details
    Browse the repository at this point in the history
  5. Remove todays forcast in the forecastDate filter. Add a const for tod…

    …ay for comparison in the forecast.
    joheri1 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    2ced24f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    74d16ec View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    85b8cae View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    eafc9ec View commit details
    Browse the repository at this point in the history
  9. Add footer to the HTML

    joheri1 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f6411c9 View commit details
    Browse the repository at this point in the history
  10. Add more css to footer

    joheri1 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    c637333 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    a41b834 View commit details
    Browse the repository at this point in the history