{"id":218560,"student_id":2589,"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\":\"\"}","created_at":"2021-01-13T15:47:08.120+08:00","updated_at":"2024-11-20T15:43:25.048+08:00","name":"1 to 50(試玩版)","language":"web","screenshot":{"url":"https://cdn7.koding.school/uploads/project/screenshot/218560/51c253274cea2ab1a7ff8851328812f7.jpg"},"parent_id":4,"plugin":"var startTime = Date.now();\nvar count = 1;\nvar blocks = $('.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 = $(blocks[rand1]).text();\n var b = $(blocks[rand2]).text();\n $(blocks[rand1]).text(b);\n $(blocks[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 $(blocks).text('');\n $(blocks).css('visibility', 'visible');\n $(blocks).css('backgroundColor', 'gold');\n $(blocks[11]).text('結果');\n $(blocks[12]).text(time);\n $(blocks[13]).text('秒');\n count++;\n }\n});","description":null,"note":null,"status":"public","like_student_ids":[6521,7418,7689,8995,7882,17302,8946,10554,11102,12542,12460,11532,16424,17411],"is_featured":false,"views":1202,"hashid":"npms3z66g","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3863178,"file_name":"koding.png","project_id":218560,"asset_id":304964,"created_at":"2021-01-13T15:47:20.321+08:00","updated_at":"2021-01-13T15:47:20.321+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦