Skip to content

upload code #23

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

Open
wants to merge 3 commits 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
Empty file added .vscode/launch.json
Empty file.
45 changes: 45 additions & 0 deletions <!DOCTYPE html>.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My weather app</title>
<link rel="stylesheet" href="./style.css" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat:400,700|Roboto:400,700&display=swap"
rel="stylesheet"
/>
</head>

<body id="body">
<section>
<div class="todays-numbers">
<p>
<span id="shortDescription"></span> | <span id="temperature"></span>
</p>
<p id="sunrise"></p>
<p id="sunset"></p>
</div>
<div class="todays-description">
<img id="icon" />
<h2 id="description"></h2>
</div>
</section>

<section id="forecast" class="forecast"></section>
<footer>
<input
id="chosenCity"
type="text"
placeholder="Type a city..."
onsubmit="changeCity()"
/>
<button id="citySearchButton">Search</button>
<p class="error" id="error"></p>
<p>Created by: Technigo Education Team</p>
</footer>

<script type="text/javascript" src="./weather.js"></script>
<script src="rightClick.js"></script>
</body>
</html>
5 changes: 5 additions & 0 deletions api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const API_KEY = "548773e920254208b83a2e2bdadb8f0e";




Loading