{"id":80329,"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 src=\\\"https://code.jquery.com/jquery-3.4.1.min.js\\\"\u003e\u003c/script\u003e\\n\u003c/head\u003e\\n\u003cbody\u003e\\n \u003cdiv class=\\\"container\\\"\u003e\\n \u003cbutton index=\\\"0\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"1\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"2\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"3\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"4\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"5\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"6\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"7\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"8\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"9\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"10\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"11\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"12\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"13\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"14\\\"\u003e❓\u003c/button\u003e\\n \u003cbutton index=\\\"15\\\"\u003e❓\u003c/button\u003e\\n \u003c/div\u003e\\n \\n\u003c/body\u003e\\n\u003c/html\u003e\",\"css\":\"body {\\n padding: 15px;\\n}\\n\\n.container {\\n width: 280px;\\n}\\n\\nbutton {\\n width: 70px;\\n height: 70px;\\n display: inline-block;\\n line-height: 50px;\\n font-size: 3rem;\\n float: left;\\n}\\n\",\"js\":\"var answer = [\\n '🧣','🎩','🧢','👒','🎓','⛑','👑','👝',\\n '🧣','🎩','🧢','👒','🎓','⛑','👑','👝'\\n];\\n\\nfor (var i=0; i\u003c100; i++) {\\n var rand1 = Math.floor(Math.random()*16);\\n var rand2 = Math.floor(Math.random()*16);\\n var tmp = answer[rand1];\\n answer[rand1] = answer[rand2];\\n answer[rand2] = tmp;\\n}\\n\\nvar firstEl = undefined;\\nvar first = undefined;\\nvar secondEl = undefined;\\nvar second = undefined;\\nvar status = 0;\\n\\n$('button').click(function () {\\n\\n if (status == 0) {\\n firstEl = $(this);\\n first = answer[$(this).attr('index')];\\n $(this).text(first);\\n \\n status = 1;\\n }\\n else if (status == 1) {\\n secondEl = $(this);\\n second = answer[$(this).attr('index')];\\n $(this).text(second);\\n \\n status = 2;\\n }\\n else if (status == 2) {\\n if (first != second) {\\n firstEl.text('❓');\\n secondEl.text('❓');\\n }\\n \\n status = 0;\\n }\\n});\"}","created_at":"2019-07-15T10:27:50.598+08:00","updated_at":"2019-11-01T19:19:24.762+08:00","name":"step2","language":"web","screenshot":{"url":"/uploads/project/screenshot/80329/b76df65b2112edfc2201095d09bc4e6a.jpg"},"parent_id":3,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":487,"hashid":"npmskv4w","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":1373366,"file_name":"koding.png","project_id":80329,"asset_id":107444,"created_at":"2019-07-15T10:27:50.602+08:00","updated_at":"2019-07-15T10:27:50.602+08:00"}]
Orange Apple Learning Platform
My Projects
View Project Page
Export
Remix
Import
Delete
Download Android APP (APK)
Screenshot
Open Web Site
繁中
简中
English
日本語
1:1:1
1:1
Full Width
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer