forked from AdaGold/weather-report
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Amethyst - Stacey-AnBa #65
Open
ngwin-ab
wants to merge
28
commits into
Ada-C19:main
Choose a base branch
from
staceyjo: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 27 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
bbd8b40
linking scripts
ngwin-ab 465cb3a
modified the position of the script linking
ngwin-ab ba51ecc
installs dependencies
staceyjo e62cd8a
co-working session updates
staceyjo 59f8212
added the dropdown menu for weather conditions
ngwin-ab a2f66da
css ids
staceyjo 1253e47
put buttons and number display in flex
ngwin-ab aa2e668
formatted buttons
ngwin-ab 9a37578
displayed city name
ngwin-ab 98ed9d4
modified functions for better readability
ngwin-ab ff75f9c
adds event listeners for sky conditions and temp buttons
staceyjo 2d96274
i'm sleepy
staceyjo e12920f
added functions and eventListener to display location and realtime we…
ngwin-ab 0c86290
added function to convert Kelvin to Fahrenheit
ngwin-ab db6f51b
experimenting with the header
ngwin-ab 8f065f7
morning updates
staceyjo de07f5e
changed the original temp value to 0
ngwin-ab f41b8fa
merged changes
staceyjo 59abc41
Merge branch 'main' of https://github.com/staceyjo/weather-report
staceyjo d972273
incorporated codes, fixed the header image
ngwin-ab ffdf2af
removed unnecessary blank lines
ngwin-ab e7bb999
added reset button
ngwin-ab 22d6a1d
adjusts final styling
staceyjo 5cd2a50
adjusts weather garden styling
staceyjo 0b7b2bc
change temp color based on value
ngwin-ab 9e42aca
increased the space between containers
ngwin-ab cae0abe
modified if-else statement
ngwin-ab 8cbe7bb
removed additional feature commented code and one console log
staceyjo 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
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,4 +1,5 @@ | ||
.vscode | ||
.DS_Store | ||
node_modules | ||
.cache | ||
.cache | ||
.env |
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,5 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
|
@@ -9,8 +10,99 @@ | |
<link href="https://fonts.googleapis.com/css2?family=Rubik&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="styles/index.css" /> | ||
</head> | ||
|
||
<body> | ||
<script src="./src/index.js"></script> | ||
<!-- Header --> | ||
<header> | ||
<h1>AnS Amethyst Weather Report</h1> | ||
</header> | ||
|
||
<main> | ||
<h3 id="city-intro">Get the real-time weather in the beautiful city of: </h2> | ||
|
||
<!-- Search section --> | ||
<div id="search-container"> | ||
<input id="search-input" type="text" placeholder="Please enter a city"> | ||
<button id="search-button">Search</button> | ||
<button id="reset-button">Reset</button> | ||
</div> | ||
|
||
<!-- City Header --> | ||
<div id="city-container"> | ||
|
||
<span> | ||
<h2 id="city-spotlight"></h2> | ||
</span> | ||
</div> | ||
|
||
|
||
<!-- Temperature --> | ||
<div id="temperature-container"> | ||
<h3 id="temp-header">Current Temperature :</h3> | ||
|
||
<!-- Temperature Buttons --> | ||
<div class="temp-adustment-container"> | ||
<button id="down-button">Decrease ↓</button> | ||
|
||
<span> | ||
<h2 id="temp-value"></h2> | ||
</span> | ||
|
||
<button id="up-button">Increase ↑</button> | ||
</div> | ||
</div> | ||
|
||
<!-- Sky conditions --> | ||
<div id="sky-container"> | ||
<label for="weather-conditions" id="label"> | ||
<h4>Sky Condition :</h4> | ||
Comment on lines
+38
to
+58
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Markup looks great! |
||
</label> | ||
|
||
<select name="weather-conditions" id="weather-conditions"> | ||
<option value="general" id="select-drop-down" selected>Please select an option</option> | ||
<option value="sunny">Sunny</option> | ||
<option value="cloudy">Cloudy</option> | ||
<option value="rainy">Rainy</option> | ||
<option value="snowy">Snowy</option> | ||
</select> | ||
</div> | ||
|
||
|
||
<!-- Weather Garden --> | ||
<div id="weather-garden-container"> | ||
<h3 id="weather-garden-header">Weather Garden :</h3> | ||
|
||
<section class="weather-icons"> | ||
|
||
<div id="sunny-garden-image-container"> | ||
<div id="sun-garden-icon">🌻 ☀️ 🌺 🌤 🌸 </div> | ||
</div> | ||
|
||
<div id="cloudy-garden-image-container"> | ||
<div id="cloud-garden-icon">🌿 ☁️ 🌷 </div> | ||
</div> | ||
|
||
<div id="rainy-garden-image-container"> | ||
<div id="rain-garden-icon"> 🌦 🌹 💧 🌲 ⚡️ 🌈 🌴 🌧 </div> | ||
</div> | ||
|
||
<div id="snowy-garden-image-container"> | ||
<div id="snow-garden-icon">❄️ 🥀</div> | ||
</div> | ||
|
||
</section> | ||
|
||
</div> | ||
</main> | ||
|
||
|
||
<!-- Footer --> | ||
<footer> | ||
<p>©2023 Amethyst Atlanta Inc. Proudly designed by Anba & Stacey</p> | ||
</footer> | ||
|
||
<script src="./node_modules/axios/dist/axios.min.js"></script> | ||
<script src="./src/index.js"></script> | ||
</body> | ||
|
||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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": "^1.2.1" | ||
"axios": "^1.4.0" | ||
} | ||
} |
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 great!