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

Ihovanna Huezo #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion ada-project-docs/wave-06.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Wave 6: Resetting the City Name
Wave 6: Resetting the City Name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this was mistakenly updated


Include a button that resets the city name.

Expand Down
40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,48 @@
<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="http">
</head>

<body>
<div class="container" id="outermost-margin">
<div class="weather-box" id="left-box">
<p id="current-date">Today's date</p>
<p id="display-city"> City</p>
<section id="sky"></section>
<section id="temperature-container" class="container">
<button type="button" id="decrease-temp-button" class="button">❄️</button>
<p id="display-temperature">Temperature</p>
<button type="button" id="increase-temp-button" class="button">🔥</button>
</section>
<section id="landscape">emojis</section><br>
<button type="button" id="current-temp-button" class="button">See current weather</button>
<br>
<button type="button" id="reset-city-button" class="button">reset city</button>
</div>

<div class="weather-box" id="right-box">
<select name="weather" id="weather-dropdown" class="dropdown">
<option value=" ">Choose your sky!</option>
<option value="sun">Sunny</option>
<option value="clouds">Cloudy</option>
<option value="rain">Rainy</option>
<option value="snow">Snowy</option>
Comment on lines +13 to +35

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Markup looks great!

</select><br>

<section id="weather-icon" class="weather-images">
<!-- <img src="src/photos/sunny_white.png" class="weather-images"/>
<img src="src/photos/partly_cloudy_white.png" class="weather-images" />
<img src="src/photos/rainy_white.png" class="weather-images" />
<img src="src/photos/snowy_white.png" class="weather-images"/> -->
</section>

<br>Look up your city:<input type="text" id="text-box">
</div>
<script src="node_modules/axios/dist/axios.min.js"></script>
<script src="src/index.js" type="text/javascript"></script>
<script src="./node_modules/axios/dist/axios.min.js"></script>

</body>
</html>
173 changes: 173 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {
"axios": "^0.27.2"
"axios": "^1.2.1"
}
}
Loading