{"id":54337,"student_id":10,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\n\u003chead\u003e\\n\\t\u003ctitle\u003eDocument\u003c/title\u003e\\n\\t\u003cscript\\n src=\\\"https://code.jquery.com/jquery-3.3.1.min.js\\\"\\n integrity=\\\"sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=\\\"\\n crossorigin=\\\"anonymous\\\"\u003e\u003c/script\u003e\\n\u003c/head\u003e\\n\u003cbody\u003e\\n \u003cdiv class=\\\"container\\\"\u003e\\n \u003cdiv\u003e1\u003c/div\u003e\\n \u003cdiv\u003e2\u003c/div\u003e\\n \u003cdiv\u003e3\u003c/div\u003e\\n \u003cdiv\u003e4\u003c/div\u003e\\n \u003cdiv\u003e5\u003c/div\u003e\\n \u003cdiv\u003e6\u003c/div\u003e\\n \u003cdiv\u003e7\u003c/div\u003e\\n \u003cdiv\u003e8\u003c/div\u003e\\n \u003cdiv\u003e9\u003c/div\u003e\\n \u003cdiv\u003e10\u003c/div\u003e\\n \u003cdiv\u003e11\u003c/div\u003e\\n \u003cdiv\u003e12\u003c/div\u003e\\n \u003cdiv\u003e13\u003c/div\u003e\\n \u003cdiv\u003e14\u003c/div\u003e\\n \u003cdiv\u003e15\u003c/div\u003e\\n \u003cdiv\u003e16\u003c/div\u003e\\n \u003cdiv\u003e17\u003c/div\u003e\\n \u003cdiv\u003e18\u003c/div\u003e\\n \u003cdiv\u003e19\u003c/div\u003e\\n \u003cdiv\u003e20\u003c/div\u003e\\n \u003cdiv\u003e21\u003c/div\u003e\\n \u003cdiv\u003e22\u003c/div\u003e\\n \u003cdiv\u003e23\u003c/div\u003e\\n \u003cdiv\u003e24\u003c/div\u003e\\n \u003cdiv\u003e25\u003c/div\u003e\\n \u003c/div\u003e\\n\u003c/body\u003e\\n\u003c/html\u003e\",\"css\":\".container {\\n width: 400px;\\n height: 400px;\\n position: fixed;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n}\\n\\n.container \u003e div {\\n float: left;\\n width: 80px;\\n height: 80px;\\n border: 3px solid #fff;\\n box-sizing: border-box;\\n text-align: center;\\n line-height: 80px;\\n font-size: 2rem;\\n font-weight: bold;\\n background-color: royalblue;\\n color: #fff;\\n cursor: pointer;\\n}\",\"js\":\"var startTime = Date.now();\\nvar answer = 1;\\nvar blocks = $('.container \u003e div');\\n\\nfor (var i=0; i\u003c10; i++) {\\n var rand1 = Math.floor(Math.random()*25);\\n var rand2 = Math.floor(Math.random()*25);\\n var a = $(blocks[rand1]).text();\\n var b = $(blocks[rand2]).text();\\n $(blocks[rand1]).text(b);\\n $(blocks[rand2]).text(a);\\n}\\n\\n\\n\\n$('.container \u003e div').on('click', function () {\\n var num = Number($(this).text());\\n if (num === answer \u0026\u0026 num \u003e 25) {\\n $(this).text('');\\n answer++;\\n }\\n if (num === answer \u0026\u0026 num \u003c= 25) {\\n $(this).text(num + 25);\\n answer++;\\n }\\n if (answer == 51) {\\n var time = (Date.now() - startTime)/1000;\\n alert('花費了:' + time + 's')\\n }\\n});\"}","created_at":"2019-01-18T16:41:11.223+08:00","updated_at":"2019-10-14T22:50:25.007+08:00","name":"1 to 50","language":"web","screenshot":{"url":"https://cdn6.koding.school/uploads/project/screenshot/54337/b3809b74b7e49fb76f57fd4afdf8bb4f.jpg"},"parent_id":3,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":288,"hashid":"6rpsdprz","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":970420,"file_name":"koding.png","project_id":54337,"asset_id":107444,"created_at":"2019-01-18T16:41:11.242+08:00","updated_at":"2019-01-18T16:41:11.242+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦