{"id":153075,"student_id":3525,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\r\\n\u003chtml\u003e\\r\\n\u003chead\u003e\\r\\n \u003ctitle\u003eDocument\u003c/title\u003e\\r\\n \u003cscript src=\\\"https://code.jquery.com/jquery-3.4.1.min.js\\\"\u003e\u003c/script\u003e\\r\\n\u003c/head\u003e\\r\\n\u003cbody\u003e\\r\\n \u003ch1 style=\\\"text-align: center;\\\"\u003e翻開0次\u003c/h1\u003e\\r\\n\\r\\n \u003cdiv class=\\\"container\\\"\u003e\\r\\n \u003cbutton data-index=\\\"0\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"1\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"2\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"3\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"4\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"5\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"6\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"7\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"8\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"9\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"10\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"11\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"12\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"13\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"14\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"15\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"16\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"17\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"18\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"19\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"20\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"21\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"22\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"23\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"24\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"25\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"26\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"27\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"28\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"29\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"30\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"31\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"32\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"33\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"34\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"35\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"36\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"37\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"38\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"39\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"40\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"41\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"42\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"43\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"44\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"45\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"46\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"47\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"48\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"49\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"50\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"51\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"52\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"53\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"54\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"55\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"56\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"57\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"58\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"59\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"60\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"61\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"62\\\"\u003e❓\u003c/button\u003e\\r\\n \u003cbutton data-index=\\\"63\\\"\u003e❓\u003c/button\u003e\\r\\n \\r\\n \u003c/div\u003e\\r\\n\\r\\n\u003c/body\u003e\\r\\n\u003c/html\u003e\",\"css\":\"body {\\r\\n width: 100 vw;\\r\\n height: 100 vh;\\r\\n}\\r\\n\\r\\n.container {\\r\\n width: 420px;\\r\\n height: 420px;\\r\\n position: absolute;\\r\\n top: 50%;\\r\\n left: 50%;\\r\\n transform: translate(-50%, -50%);\\r\\n}\\r\\n\\r\\nbutton {\\r\\n width: 52px;\\r\\n height: 52px;\\r\\n display: inline-block;\\r\\n line-height: 50px;\\r\\n font-size: 1.75rem;\\r\\n float: left;\\r\\n}\",\"js\":\"var answers = [\\r\\n '🀄', '🌐', '❤️', '💲', '🔒', '🧬', '📦', '🎊', '🏠', '🏁', '🎱', '🍉', '🧀', '🍗', '🌰', '🌞', '☁️', '☮️', '🧠', '👍', '🙃', '🤬', '👾', '🕶️', '🍄', '🏉', '🏆', '📀', '💾', '⏳', '📒', '🔒',\\r\\n '🀄', '🌐', '❤️', '💲', '🔒', '🧬', '📦', '🎊', '🏠', '🏁', '🎱', '🍉', '🧀', '🍗', '🌰', '🌞', '☁️', '☮️', '🧠', '👍', '🙃', '🤬', '👾', '🕶️', '🍄', '🏉', '🏆', '📀', '💾', '⏳', '📒', '🔒',\\r\\n];\\r\\nvar first;\\r\\nvar second;\\r\\nvar firstEl;\\r\\nvar secondEl;\\r\\nvar lock = false;\\r\\nfor (var i = 0; i \u003c 500; i++) {\\r\\n var rand1 = Math.floor(Math.random()*64);\\r\\n var rand2 = Math.floor(Math.random()*64);\\r\\n var tmp = answers[rand1];\\r\\n answers[rand1] = answers[rand2];\\r\\n answers[rand2] = answers[rand1];\\r\\n}\\r\\n$(\\\"button\\\").click(function(){\\r\\n \\r\\n if (lock === false) { \\r\\n if (first === undefined) {\\r\\n first = answers[$(this).data(\\\"index\\\")];\\r\\n $(this).text(first);\\r\\n firstEl = $(this);\\r\\n } else if (second === undefined) {\\r\\n second = answers[$(this).data(\\\"index\\\")];\\r\\n $(this).text(second);\\r\\n secondEl = $(this);\\r\\n if (first != second) {\\r\\n lock = true;\\r\\n setTimeout(function() {\\r\\n firstEl.text(\\\"❓\\\");\\r\\n secondEl.text(\\\"❓\\\");\\r\\n lock = false;\\r\\n }, 1000);\\r\\n }\\r\\n first = undefined;\\r\\n second = undefined;\\r\\n \\r\\n \\r\\n \\r\\n } \\r\\n }\\r\\n});\"}","created_at":"2020-05-30T10:20:51.554+08:00","updated_at":"2020-05-30T11:58:56.636+08:00","name":"Emoji 配對大作戰 副本","language":"web","screenshot":{"url":"https://cdn9.koding.school/uploads/project/screenshot/153075/d6d89e9f3c8b0c925f2c53fe4b39b127.jpg"},"parent_id":93544,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":78,"hashid":"vngs2859","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2667427,"file_name":"koding.png","project_id":153075,"asset_id":107444,"created_at":"2020-05-30T10:20:51.562+08:00","updated_at":"2020-05-30T10:20:51.562+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦