GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — changes :broken_heart: · firmanJS/fullstack-javascript@1245998

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • 02-weather
    • index.html
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎02-weather/index.html‎

Copy file name to clipboardExpand all lines: 02-weather/index.html
+4-14Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,13 @@
1010
}
1111
</style>
1212
<script>
13-
14-
//Kazan: 551487
15-
//SF: 5391959
16-
1713
var openWeatherAppId = '2de143494c0b295cca9337e1e96b00e0',
1814
openWeatherUrl = 'http://api.openweathermap.org/data/2.5/forecast'
19-
/*
20-
Rapid Prototyping with JS is a JavaScript and Node.js book that will teach you how to build mobile and web apps fast. — Read more at
21-
http://rapidprototypingwithjs.com.
22-
*/
15+
2316
var prepareData = function(units) {
24-
//replace loading image
17+
// Replace loading image
2518
var cityName = $('#city-name').val()
26-
//make ajax call, callback
19+
// Make ajax call, callback
2720
if (cityName && cityName != ''){
2821
cityName = cityName.trim()
2922
getData(openWeatherUrl, cityName, openWeatherAppId, units)
@@ -83,10 +76,7 @@ <h2>Weather App</h2>
8376
<div class="row">
8477
<div class="span6 offset1"><input type="button" class="btn-primary btn btn-metric" value="Get forecast in metric"/>
8578
<div class="span6 offset1"><input type="button" class="btn-danger btn btn-imperial" value="Get forecast in imperial"/>
86-
</div>
87-
<div class="span3">
88-
<p id="info"></p>
89-
</div>
79+
</div>
9080
</div>
9181

9282
<div class="row">

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.