Skip to content

Instantly share code, notes, and snippets.

@victorkurauchi
Created January 4, 2019 05:34
Show Gist options
  • Save victorkurauchi/2fa00bca31f364b81ac7bc470a57449c to your computer and use it in GitHub Desktop.
Save victorkurauchi/2fa00bca31f364b81ac7bc470a57449c to your computer and use it in GitHub Desktop.
weather.html
<html>
<head>
<script src="./weather.min.js"></script>
</head>
<body>
<button onclick="showWeather()">Click to know the weather :)</button>
<script>
function showWeather() {
var weather = new Weather();
console.log(weather.getApp());
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment