{"id":46134,"student_id":86,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\n\\n\u003chead\u003e\\n\\t\u003ctitle\u003eDocument\u003c/title\u003e\\n\\t\u003clink rel=\\\"stylesheet\\\" href=\\\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css\\\"\u003e\\n\\t\u003cscript src=\\\"https://code.jquery.com/jquery-3.2.1.min.js\\\"\u003e\u003c/script\u003e\\n\\t\u003cscript src=\\\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js\\\"\u003e\u003c/script\u003e\\n\\t\u003cscript src=\\\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js\\\"\u003e\u003c/script\u003e\\n\u003c/head\u003e\\n\\n\u003cbody class=\\\"p-3\\\"\u003e\\n\\t\u003ch1 class=\\\"text-center\\\"\u003e天氣預報\u003c/h1\u003e\\n\\t\u003cselect class=\\\"form-control my-3\\\" id=\\\"towns\\\"\u003e\\n \u003c/select\u003e\\n\\t\u003cp class=\\\"text-center alert alert-warning my-3\\\"\u003e\\n\\t\\t\u003cspan class=\\\"h3\\\"\u003e??\u003c/span\u003e\\n \u003cbr\u003e\\n\\t\\t\u003cspan\u003e?\u003c/span\u003e\\n\\t\\t\u003cbr/\u003e 溫度:\\n\\t\\t\u003cspan\u003e?\u003c/span\u003e 度\\n\\t\\t\u003cbr/\u003e 濕度:\\n\\t\\t\u003cspan\u003e?\u003c/span\u003e %\\n\\t\\t\u003cbr/\u003e 降雨機率:\\n\\t\\t\u003cspan\u003e?\u003c/span\u003e %\\n\\t\u003c/p\u003e\\n\u003c/body\u003e\\n\\n\u003c/html\u003e\",\"css\":\"body {\\n background-image: url(dust.png);\\n}\",\"js\":\"var wth = [];\\nvar plc;\\n$.getJSON(\\\"https://us-central1-orangeapple-d1f13.cloudfunctions.net/weather\\\", function (data) {\\n wth = data;\\n console.log(wth);\\n select();\\n});\\n\\nfunction select () {\\n for (var i = 0; i \u003c wth.length; i ++) {\\n plc = wth[i].name;\\n $(\\\"#towns\\\").append(\\\"\u003coption value = \\\\\\\"\\\" + plc + \\\"\\\\\\\"\u003e\\\" + plc + \\\"\u003c/option\u003e\\\");\\n }\\n}\\n\\n$(\\\"#towns\\\").change(function () {\\n for (var i = 0; i \u003c wth.length; i ++) {\\n if (wth[i].name == $(this).val()) {\\n $(\\\"#name\\\").text(wth[i].name);\\n $(\\\"#weather\\\").text(wth[i].weather);\\n $(\\\"#temperature\\\").text(wth[i].temperature);\\n $(\\\"#moistrue\\\").text(wth[i].moistrue);\\n $(\\\"#rainfull\\\").text(wth[i].rainfull);\\n }\\n }\\n});\"}","created_at":"2018-10-20T16:06:09.736+08:00","updated_at":"2019-10-11T23:30:07.305+08:00","name":"天氣APP 副本","language":"web","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/46134/7ff23776775b954972794b59617fe153.jpg"},"parent_id":26643,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":104,"hashid":"36ysj62q","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":819262,"file_name":"dust.png","project_id":46134,"asset_id":60715,"created_at":"2018-10-20T16:06:09.745+08:00","updated_at":"2018-10-20T16:06:09.745+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦