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

SeaTurtles - Adriana G. #70

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f4c1f2a
html done, color-changing effects for selected weather done
adrianajg Jun 10, 2022
b62666a
real temperature glow reflects temp according to keyframes in css
adrianajg Jun 10, 2022
9750ff1
update location name based on user input upon click of submit button
adrianajg Jun 10, 2022
7c3841b
enter key registers user input text and updates city name
adrianajg Jun 11, 2022
ad776fc
name updates based on user input and API call to LocationIQ
adrianajg Jun 11, 2022
216388a
temperature updates with user input
adrianajg Jun 11, 2022
26fb23b
high and low temp displays update with API call
adrianajg Jun 11, 2022
c6e2d4a
real temp color updates upon API call
adrianajg Jun 11, 2022
8ffc5de
added thermometer element that changes depending on the temperature
adrianajg Jun 12, 2022
0aa4ecf
sky updates according to API call for real weather page
adrianajg Jun 12, 2022
4b452a4
chosen weather conditions icons functioning
adrianajg Jun 13, 2022
1efaf7d
city and state in chosen weather functioning
adrianajg Jun 13, 2022
a078611
reset weather button set to default Charlotte, NC
adrianajg Jun 13, 2022
8566613
aligned items on chosen weather page
adrianajg Jun 13, 2022
4f8f9f0
updated API call base URLs to deployed proxy server
adrianajg Jul 9, 2022
067c573
installed dependencies in deploy instructions
adrianajg Jul 9, 2022
ae866ee
uncommented out script tag in index.html
adrianajg Jul 9, 2022
66e8869
commented out script tag in index.html, moved index.js out of src fol…
adrianajg Jul 9, 2022
6965867
changed axios script to reference library on internet
adrianajg Jul 9, 2022
5d3390b
commented out import statements
adrianajg Jul 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode
.DS_Store
node_modules
.cache
.cache
.env
Binary file added assets/Lightning.mp4
Binary file not shown.
Binary file added assets/RooftopClouds.mp4
Binary file not shown.
Binary file added assets/button_arrow_blue_up_T.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/button_arrow_red_up_T.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/down-chevron.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/partly-cloudy.mp4
Binary file not shown.
Binary file added assets/partly_cloudy_T.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/rain.mp4
Binary file not shown.
Binary file added assets/snow.mp4
Binary file not shown.
Binary file added assets/sunny.mp4
Binary file not shown.
Binary file added assets/thermometer-icons/cold.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/thermometer-icons/cool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/thermometer-icons/hot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/thermometer-icons/scorching.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/thermometer-icons/warm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/weather_clear_T.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/weather_showers_scattered_T.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/weather_snow_T.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/weather_storm_T.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/Lightning.dfafc7e9.mp4
Binary file not shown.
Binary file added dist/button_arrow_blue_up_T.5d9504fe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/button_arrow_red_up_T.c0e11871.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/cold.f449cb03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/down-chevron.c0b9c85c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Weather Report</title><link rel="stylesheet" href="/weather-report/styles.79e24296.css"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap" rel="stylesheet"></head><body> <video playsinline="" autoplay muted loop poster="/weather-report/down-chevron.c0b9c85c.png" id="bgvid-1"> <source src="/weather-report/sunny.97adf193.mp4" type="video/mp4"> </video> <container class="page" id="page-1"> <div id="spacer-1"></div> <div id="content-1"> <h1 id="title">What's the Weather?</h1> <h2 id="subtitle">Dealer's choice!</h2> <p><b>Ever wish you could control the weather?</b> Now you can! With <b>What's the Weather</b> now anyone can decide what kind of day it'll be! Simply play with the buttons and make it <b><em>your day!</em></b></p> </div> <div class="scroll"> <h3>Check the weather</h3> <img src="/weather-report/down-chevron.c0b9c85c.png" alt="down chevron arrow"> </div> </container> <video playsinline="" autoplay muted loop poster="/weather-report/down-chevron.c0b9c85c.png" id="bgvid-2"> <source id="page2-conditions" src="/weather-report/snow.4b33f7ca.mp4" type="video/mp4"> </video> <container class="page" id="page-2"> <div id="input-location"> <span id="search-window"> <input type="text" id="curr-loc" name="curr-loc" placeholder="Where are you now?"> <button id="submit-location">Submit</button> </span> <span id="city-state"> <h1 id="city">City</h1> <h2 id="state">USA</h2> </span> </div> <div class="real-temp"> <img id="thermometer-image" src="/weather-report/cold.f449cb03.png" alt="thermometer"> <h1 id="temp-now">60 °F</h1> <p id="high">Hi: <span id="hi-temp">75</span> °F / Lo: <span id="low-temp">50</span> °F</p> </div> <div class="scroll"> <h3>Make your own weather!</h3> <img src="/weather-report/down-chevron.c0b9c85c.png" alt="down chevron arrow"> </div> </container> <video playsinline="" autoplay muted loop poster="/weather-report/down-chevron.c0b9c85c.png" id="bgvid-3"> <source id="page3-conditions" src="/weather-report/Lightning.dfafc7e9.mp4" type="video/mp4"> </video> <container class="page" id="page-3"> <div id="selected-input-location"> <span id="selection-window"> <input type="text" oninput="displayChosenCity(this.value)" id="chosen-loc" name="chosen-loc" placeholder="Where do you want to go?"> <button id="reset-location">Reset</button> </span> <span id="chosen-city-state"> <span id="chosen-city-state-text"> <h1 id="display-chosen-city-state">City</h1> <h2 id="display-chosen-state">SS</h2> </span> <select name="choose-state" id="choose-state"> <option value="">-</option> <option value="Alabama">Alabama</option> <option value="Alaska">Alaska</option> <option value="Arizona">Arizona</option> <option value="Arkansas">Arkansas</option> <option value="California">California</option> <option value="Colorado">Colorado</option> <option value="Connecticut">Connecticut</option> <option value="Delaware">Delaware</option> <option value="District Of Columbia">District Of Columbia</option> <option value="Florida">Florida</option> <option value="Georgia">Georgia</option> <option value="Hawaii">Hawaii</option> <option value="Idaho">Idaho</option> <option value="Illinois">Illinois</option> <option value="Indiana">Indiana</option> <option value="Iowa">Iowa</option> <option value="Kansas">Kansas</option> <option value="Kentucky">Kentucky</option> <option value="Louisiana">Louisiana</option> <option value="Maine">Maine</option> <option value="Maryland">Maryland</option> <option value="Massachusetts">Massachusetts</option> <option value="Michigan">Michigan</option> <option value="Minnesota">Minnesota</option> <option value="Mississippi">Mississippi</option> <option value="Missouri">Missouri</option> <option value="Montana">Montana</option> <option value="Nebraska">Nebraska</option> <option value="Nevada">Nevada</option> <option value="New Hampshire">New Hampshire</option> <option value="New Jersey">New Jersey</option> <option value="New Mexico">New Mexico</option> <option value="New York">New York</option> <option value="North Carolina">North Carolina</option> <option value="North Dakota">North Dakota</option> <option value="Ohio">Ohio</option> <option value="Oklahoma">Oklahoma</option> <option value="Oregon">Oregon</option> <option value="Pennsylvania">Pennsylvania</option> <option value="Rhode Island">Rhode Island</option> <option value="South Carolina">South Carolina</option> <option value="South Dakota">South Dakota</option> <option value="Tennessee">Tennessee</option> <option value="Texas">Texas</option> <option value="Utah">Utah</option> <option value="Vermont">Vermont</option> <option value="Virginia">Virginia</option> <option value="Washington">Washington</option> <option value="West Virginia">West Virginia</option> <option value="Wisconsin">Wisconsin</option> <option value="Wyoming">Wyoming</option> <option value="American Samoa">American Samoa</option> <option value="Guam">Guam</option> <option value="Northern Mariana Islands">Northern Mariana Islands</option> <option value="Puerto Rico">Puerto Rico</option> <option value="United States Minor Outlying Islands">United States Minor Outlying Islands</option> <option value="Virgin Islands">Virgin Islands</option> </select> </span> </div> <div id="page3-temp-display"> <img id="chosen-temp-thermometer" src="/weather-report/cold.f449cb03.png" alt="thermometer"> <div id="adjustable-temp"> <h1 class="chosen-temp" id="cool">60 °F</h1> <div id="arrows"> <img id="up-arrow" src="/weather-report/button_arrow_red_up_T.c0e11871.png"> <img id="down-arrow" src="/weather-report/button_arrow_blue_up_T.5d9504fe.png"> </div> </div> </div> <div id="choose-weather-conditions"> <p>Choose your weather conditions!</p> <div id="weather-icons"> <img id="sunny" alt="sunny icon" src="/weather-report/weather_clear_T.79ec196f.png"> <img id="cloudy" alt="cloudy icon" src="/weather-report/partly_cloudy_T.199e5ddc.png"> <img id="rain" alt="rainy icon" src="/weather-report/weather_showers_scattered_T.bd682e3e.png"> <img id="storm" alt="stormy icon" src="/weather-report/weather_storm_T.b83da275.png"> <img id="snow" alt="snowy icon" src="/weather-report/weather_snow_T.7ffdc4c0.png"> </div> </div> </container> <script src="/weather-report/src.2261e340.js" type="text/javascript"></script> </body></html>
Binary file added dist/partly_cloudy_T.199e5ddc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/snow.4b33f7ca.mp4
Binary file not shown.
Loading