Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1 Get The Weather Using An API In this question, we ask you create a single web page that is completely selfcontained (Le. does not

image text in transcribed
image text in transcribed
Q1 Get The Weather Using An API In this question, we ask you create a single web page that is completely selfcontained (Le. does not load any external J avaScript files) and retrieve the current local weather using a bee online service. There are several free weather service providers available; it's up to you to find one, study its API, figure out what endpoint to use, and write the JavaScript code to retrieve the current weather for Calgary. You will need to figure out how to decode the response from the API, which will most likely be a J SON-encoded object. You should retrieve at least the temperature and a description of the weather (e.g. partially cloudy, sunny, snowing, etc). Your web page should display this information, but does not need to be styled at all (i.e. don't waste time making it pretty, just display the weather by updating HTML DOM elements). Please make sure your HTML page validates through W3C. and do not use documentwrite at all

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Restaurant From Concept To Operation

Authors: John R Walker

5th Edition

0471740578, 9780471740575

Students also viewed these General Management questions