{"id":26644,"student_id":10,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\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\\t\u003c/select\u003e\\n\\t\u003cp class=\\\"text-center alert alert-warning my-3\\\"\u003e\\n\\t\\t\u003cspan class=\\\"h3\\\" id=\\\"name\\\"\u003e\u003c/span\u003e\\n \u003cbr\u003e\\n\\t\\t\u003cspan id=\\\"weather\\\"\u003e?\u003c/span\u003e\\n\\t\\t\u003cbr/\u003e\\n\\t\\t溫度:\u003cspan id=\\\"temperature\\\"\u003e?\u003c/span\u003e 度\\n\\t\\t\u003cbr/\u003e\\n\\t\\t濕度:\u003cspan id=\\\"moisture\\\"\u003e?\u003c/span\u003e %\\n\\t\\t\u003cbr/\u003e\\n\\t\\t降雨機率:\u003cspan id=\\\"rainfall\\\"\u003e?\u003c/span\u003e %\\n\\t\u003c/p\u003e\\n\u003c/body\u003e\\n\u003c/html\u003e\",\"css\":\"body {\\n background-image: url(dust.png);\\n};\",\"js\":\"var Data;\\n\\n$.get('https://us-central1-orangeapple-d1f13.cloudfunctions.net/weather', function (data) {\\n Data = data;\\n for (var i=0; i\u003cdata.length; i++) {\\n $('select').append(`\u003coption value=\\\"${data[i].name}\\\"\u003e${data[i].name}\u003c/option\u003e`);\\n }\\n});\\n\\n$('#towns').change(function () {\\n \\n var text = $('#towns').val();\\n\\n for (var i=0; i\u003cData.length; i++) {\\n if (Data[i].name == text) {\\n $(\\\"#name\\\").text(Data[i].name);\\n $(\\\"weather\\\").text(Data[i].weather);\\n $(\\\"rainfall\\\").text(Data[i].rainfall);\\n $(\\\"moisture\\\").text(Data[i].moisture);\\n $(\\\"temperature\\\").text(Data[i].temperature);\\n }\\n }\\n});\\n\\n\\n\"}","created_at":"2018-04-19T23:23:30.838+08:00","updated_at":"2019-11-09T13:36:36.794+08:00","name":"天氣APP","language":"web","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/26644/cdcc4593a7d9c5933a015ee82212c93e.jpg"},"parent_id":26643,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":309,"hashid":"vngs5kj2","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":492245,"file_name":"dust.png","project_id":26644,"asset_id":60715,"created_at":"2018-04-19T23:23:30.845+08:00","updated_at":"2018-04-19T23:23:30.845+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦