{"id":148095,"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 text-align: center;\\n top: 50%;\\n left: 50%;\\n width: 400px;\\n height: 400px;\\n position: fixed;\\n transform: translate(-50%, -50%);\\n}\\n\\n.container \u003e div {\\n float: left;\\n width: 70px;\\n height: 70px;\\n margin: 5px;\\n border-radius: 5px;\\n text-align: center;\\n line-height: 70px;\\n color: #fff;\\n background-color: royalblue;\\n cursor: pointer;\\n transition: background-color 0.2s;\\n text-shadow: 0px 0px 5px gray;\\n box-shadow: 0px 0px 5px gray;\\n}\\n\\n.container \u003e div:hover {\\n background-color: gold;\\n}\",\"js\":\"var startTime = Date.now();\\nvar count = 1;\\nvar cards = $('.container \u003e div');\\n\\nfor (var i=0; i\u003c100; i++) {\\n var rand1 = Math.floor(Math.random()*25);\\n var rand2 = Math.floor(Math.random()*25);\\n var a = $(cards[rand1]).text();\\n var b = $(cards[rand2]).text();\\n $(cards[rand1]).text(b);\\n $(cards[rand2]).text(a);\\n}\\n\\n$('.container \u003e div').on('click', function () {\\n var num = Number($(this).text());\\n if (count == num \u0026\u0026 num \u003c= 25) {\\n $(this).text(num + 25);\\n count++;\\n }\\n if (count == num \u0026\u0026 num \u003e 25) {\\n $(this).css('visibility', 'hidden');\\n count++;\\n }\\n if (count == 51) {\\n var time = (Date.now() - startTime)/1000;\\n cards.text('');\\n cards.css('visibility', 'visible');\\n cards.css('backgroundColor', 'gold');\\n $(cards[11]).text('結果');\\n $(cards[12]).text(time);\\n $(cards[13]).text('秒');\\n }\\n});\"}","created_at":"2020-05-12T13:05:32.161+08:00","updated_at":"2020-05-12T13:07:41.355+08:00","name":"1 to 50","language":"web","screenshot":{"url":"https://cdn0.koding.school/uploads/project/screenshot/148095/c5ef56a71311bb9a1e96e955dc64a438.jpg"},"parent_id":3,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":246,"hashid":"yeysje9g","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2563983,"file_name":"koding.png","project_id":148095,"asset_id":212376,"created_at":"2020-05-12T13:05:39.790+08:00","updated_at":"2020-05-12T13:05:39.790+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦