{"id":227454,"student_id":3770,"content":"{\"html\":\"\u003chtml\u003e\\r\\n\u003chead\u003e\\r\\n\\t\u003ctitle\u003eDocument\u003c/title\u003e\\r\\n\\t\u003cscript src=\\\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\\\"\u003e\u003c/script\u003e\\r\\n\u003c/head\u003e\\r\\n\u003cbody\u003e\\r\\n \u003cdiv\u003e\\r\\n \u003ch1 class=\\\"js-result\\\"\u003e???\u003c/h1\u003e\\r\\n \u003cbutton class=\\\"js-btn\\\"\u003e我是誰?\u003c/button\u003e\\r\\n \u003c/div\u003e\\r\\n\u003c/body\u003e\\r\\n\u003c/html\u003e\\r\\n\",\"css\":\"body{\\n background-color: #ddd;\\n background-image: url(https://sb.koding.school/project_assets/7776210ce416bcb9ba94fdd8c6ff3be5.jpg);\\n background-repeat: no-repeat;\\n background-size: cover;\\n background-position: center;\\n border: 3px red;\\n width:100vw;\\n height:100vh;\\n}\\n\\ndiv{\\n /* background-color: #fff; */\\n width:40%;\\n position:relative;\\n top:50%;\\n left:50%;\\n transform: translate(-50%,-50%);\\n}\\n\\nh1{\\n font-size: 60px;\\n color:#fff;\\n text-align: center;\\n}\\nbutton{\\n width:100%;\\n background-color:#dc3545;\\n color:#fff;\\n font-size:30px;\\n padding:10px;\\n border:0px;\\n border-radius:15px;\\n}\",\"js\":\"var places = ['台南', '高雄', '屏東', '嘉義', '雲林', '台中', '彰化', '新竹', '桃園', '台北', '新北', '宜蘭', '花蓮']\\r\\n// var places = ['士林','北投','木柵','三重','南港','淡水','新店','蘆洲','古亭','中壢','池上','汐止','三峽'];\\r\\nvar stars = ['金城武','劉德華','周杰倫','蔡依林','新垣結依','宋仲基','鄭容和','蕭敬騰','五月天','池昌旭','魔力紅'];\\r\\n\\r\\n$('.js-btn').click(showMyName)\\r\\n\\r\\nfunction showMyName(){\\r\\n var rand1 = Math.floor(Math.random()*places.length);\\r\\n var rand2 = Math.floor(Math.random()*stars.length);\\r\\n console.log(rand1);\\r\\n console.log(rand2);\\r\\n console.log('__________');\\r\\n console.log(places[rand1]);\\r\\n console.log(stars[rand2]);\\r\\n $('.js-result').text(places[rand1] + stars[rand2]);\\r\\n}\"}","created_at":"2021-02-06T10:26:27.921+08:00","updated_at":"2021-02-06T11:32:18.584+08:00","name":"我是誰產生器(S) 副本","language":"web","screenshot":{"url":"https://cdn7.koding.school/uploads/project/screenshot/227454/8e2b9759268234a0a0448f4817198197.jpg"},"parent_id":64813,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":35,"hashid":"wdks4wekw","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":4053642,"file_name":"bg.jpg","project_id":227454,"asset_id":51358,"created_at":"2021-02-06T10:26:27.925+08:00","updated_at":"2021-02-06T10:26:27.925+08:00"},{"id":4053643,"file_name":"叩叮_flat_CC-10.png","project_id":227454,"asset_id":114870,"created_at":"2021-02-06T10:26:27.927+08:00","updated_at":"2021-02-06T10:26:27.927+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦