forked from AdaGold/weather-report
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Panthers Nicole Mejia #84
Open
n1colemejia
wants to merge
16
commits into
Ada-C18:main
Choose a base branch
from
n1colemejia:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
29f0b19
set up project
n1colemejia 0c03593
added html to index
n1colemejia 0566ce1
"imported SN font family"
n1colemejia 7566689
added weather icon
n1colemejia e17154b
added temp increase and decrease
n1colemejia 3cca279
added visual to change with temp ranges
n1colemejia 3362dd9
added event to update title with input value
n1colemejia 587d2aa
added getCurrentWeather to request from APIs
n1colemejia 9fc5c6f
added current temp and humidity on load
n1colemejia 8f2b5a4
added updateTemp and updateHumidity events
n1colemejia 322ab96
added fiveDayForecast request
n1colemejia 52b0a16
added updateWeatherPanels function
n1colemejia 6e0170d
added icons and connected to update with forecast
n1colemejia 9030248
added dream sky feature and cleaned up comments
n1colemejia a74745a
deleted unused font files
n1colemejia 6140cfa
Update README.md
n1colemejia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,118 @@ | ||
<!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> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
<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="styles/index.css"> | ||
<link rel="stylesheet" href="styles/SN Regular WFK/stylesheet.css"> | ||
<link rel="stylesheet" href="styles/SN Fine Italics & Italics WFK/stylesheet.css"> | ||
<script src="src/index.js" type="module"></script> | ||
<script src="/node_modules/axios/dist/axios.min.js"></script> | ||
</head> | ||
<body> | ||
<header> | ||
<h1>What are the conditions like in <span id="city-title">Chattanooga</span>?</h1> | ||
<div id="search-form"> | ||
<div> | ||
<label for="search-bar">City name: </label> | ||
<input | ||
type="text" | ||
id="search-bar" | ||
placeholder="Chattanooga" /> | ||
<!-- replace search text with icon --> | ||
<button id="search-button">Search</button> | ||
<button id="reset-button">Reset</button> | ||
</div> | ||
</div> | ||
</header> | ||
<main> | ||
<section id="weather-report-section"> | ||
<div id="weather-report-container"> | ||
<!-- flex box for five day weather panels --> | ||
<div id="panel-1" class="weather-panels"> | ||
<h3 id="day-1-name">Monday</h3> | ||
<img id="day-1-icon" class="icon" src="/icons/sun-icon.png" alt="three layered circles of orange and red"/> | ||
<h4>Temperature: <span id="day-1-temp">°</span></h4> | ||
<h4>Humidity: <span id="day-1-hum">%</span></h4> | ||
</div> | ||
<div id="panel-2" class="weather-panels"> | ||
<h3 id="day-2-name">Tuesday</h3> | ||
<img id="day-2-icon"class="icon" src="/icons/cloud-icon.png" alt="three layered circles of orange and red"/> | ||
<h4>Temperature: <span id="day-2-temp">°</span></h4> | ||
<h4>Humidity: <span id="day-2-hum">%</span></h4> | ||
</div> | ||
<div id="panel-3" class="weather-panels"> | ||
<h3 id="day-3-name">Wednesday</h3> | ||
<img id="day-3-icon" class="icon" src="/icons/rain-icon.png" alt="three layered circles of orange and red"/> | ||
<h4>Temperature: <span id="day-3-temp">°</span></h4> | ||
<h4>Humidity: <span id="day-3-hum">%</span></h4> | ||
</div> | ||
<div id="panel-4" class="weather-panels"> | ||
<h3 id="day-4-name">Thursday</h3> | ||
<img id="day-4-icon" class="icon" src="/icons/snow-icon.png" alt="three layered circles of orange and red"/> | ||
<h4>Temperature: <span id="day-4-temp">°</span></h4> | ||
<h4>Humidity: <span id="day-4-hum">%</span></h4> | ||
</div> | ||
<div id="panel-5" class="weather-panels"> | ||
<h3 id="day-5-name">Friday</h3> | ||
<img id="day-5-icon" class="icon" src="/icons/sun-icon.png" alt="three layered circles of orange and red"/> | ||
<h4>Temperature: <span id="day-5-temp">°</span></h4> | ||
<h4>Humidity: <span id="day-5-hum">%</span></h4> | ||
</div> | ||
</div> | ||
</section> | ||
<section id="dream-weather-section"> | ||
<h2>What do you wish they were?</h2> | ||
<div id="dream-weather-container"> | ||
<div id="dream-temp" class="dream-panels"> | ||
<h3>Dream Temperature</h3> | ||
<div class="dream-panel-content"> | ||
<p id="dream-temp-number">°</p> | ||
<div id="temp-buttons"> | ||
<div id="temp-increase-button" class="increase-button buttons"></div> | ||
<div id="temp-decrease-button"class="decrease-button buttons"></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="dream-sky" class="dream-panels"> | ||
<h3>Dream Sky</h3> | ||
<div class="dream-panel-content"> | ||
<select name="skies" id="sky-select"> | ||
<option value=""> | ||
Pick One | ||
</option> | ||
<option id="sunshine-sky" value="sunshine"> | ||
Sunshine | ||
</option> | ||
<option id="cloudy-sky" value="clouds"> | ||
Cloudy | ||
</option> | ||
<option id="rain-sky" value="rain"> | ||
Rain | ||
</option> | ||
<option id="snow-sky" value="snow"> | ||
Snow | ||
</option> | ||
</select> | ||
</div> | ||
</div> | ||
<div id="dream-humidity" class="dream-panels"> | ||
<h3>Dream Humidity</h3> | ||
<div class="dream-panel-content"> | ||
<p id="dream-humidity-percent">%</p> | ||
<div id="humidity-buttons"> | ||
<div id="humidity-increase-button" class="increase-button buttons"></div> | ||
<div id="humidity-decrease-button" class="decrease-button buttons"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</main> | ||
<footer id="changing-weather-container"> | ||
<div id="circle"></div> | ||
</footer> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"dependencies": { | ||
"axios": "^0.27.2" | ||
"axios": "^1.2.1" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Markup looks awesome! Great work 🏁