首页 » cs代写 » JavaScript代写 | COMP3322B Modern Technologies on World Wide Web Assignment Two

JavaScript代写 | COMP3322B Modern Technologies on World Wide Web Assignment Two

本次JavaScript代写的主要内容是JS完成WEB端的数据分析报表展现

Overview

You are going to design and develop a Web app that displays the current weather condition of Hong Kong together with (1) temperature, rainfall, and air quality data of your current location, (2) temperature data of various districts in Hong Kong, and (3) 9-day weather forecast of Hong Kong. Your program retrieves data from various Open Data sources via the corresponding APIs. The Web app should be nicely rendered on mobile platforms and desktop computers.

Objectives

  1. A learning activity to support ILO 1 and ILO 2.
  2. To learn how to make use of Open Data.
  3. To practice using JavaScript to (1) build a Web page from scratch, (2) carry out AJAX

    communication for retrieving Open Data, and (3) create dynamic contents.

  4. To practice using CSS styling to design responsive Web application.

Requirements

▪ Retrieve all Open Data datasets using AJAX XHR object or fetch().
▪ Extract required data from the Current Weather Report and 9-day Weather Forecast report

Current weather

Current weather icon Current temperature Current humidity Current rainfall Current UV index Current warning

Last update
District Temperatures Temp. of each district

Weather forecast

9-Day Forecast Forecast icon
Forecast date Forecast week Forecast temperatures

Forecast humidity

Current Weather Report API (WR)

WR.icon[0] //show the first one
WR.temperature.data[1].value //Hong Kong Observatory WR.humidity.data[0].value //show the first one WR.rainfall.data[13].max //Yau Tsim Mong WR.uvindex.data[0].value //could be missing //show the first one WR.warningMessage[ ] //could be missing //show the all warning messages
WR.updateTime
WR.temperature.data[0..N] //N could be changing from time to time WR.temperature.data[i].place, WR.temperature.data[i].value

9-day Weather Forecast API (WF)

WF.weatherForecast[0..8] WF.weatherForecast[i].ForecastIcon WF.weatherForecast[i].forecastDate WF.weatherForecast[i].week WF.weatherForecast[i].forecastMintemp, WF.weatherForecast[i].forecastMaxtemp WF.weatherForecast[i].forecastminrh, WF.weatherForecast[i].forecastmaxrh


程序辅导定制C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


本网站支持 Alipay WeChatPay PayPal等支付方式

E-mail: vipdue@outlook.com  微信号:vipnxx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank