{"id":574390,"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 src=\\\"https://code.jquery.com/jquery-3.3.1.min.js\\\"\u003e\u003c/script\u003e\\n\u003c/head\u003e\\n\u003cbody\u003e\\n \u003cdiv id=\\\"app\\\"\u003e\\n \u003cp\u003e\u003c/p\u003e\\n \u003cbutton class=\\\"bg-light\\\"\u003eC\u003c/button\u003e\\n \u003cbutton class=\\\"bg-light\\\"\u003e(\u003c/button\u003e\\n \u003cbutton class=\\\"bg-light\\\"\u003e)\u003c/button\u003e\\n \u003cbutton class=\\\"bg-orange\\\"\u003e/\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e7\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e8\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e9\u003c/button\u003e\\n \u003cbutton class=\\\"bg-orange\\\"\u003e*\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e4\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e5\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e6\u003c/button\u003e\\n \u003cbutton class=\\\"bg-orange\\\"\u003e-\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e1\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e2\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e3\u003c/button\u003e\\n \u003cbutton class=\\\"bg-orange\\\"\u003e+\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003edel\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e0\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e.\u003c/button\u003e\\n \u003cbutton class=\\\"bg-gray\\\"\u003e=\u003c/button\u003e\\n \u003c/div\u003e\\n\u003c/body\u003e\\n\u003c/html\u003e\",\"css\":\"body {\\n background-color: black;\\n text-align: center;\\n padding: 100px;\\n}\\n\\n#app {\\n width: 300px;\\n height: 400px;\\n margin: auto;\\n}\\n\\np {\\n color: #fff;\\n text-align: right;\\n font-size: 40px;\\n height: 60px;\\n padding: 5px;\\n margin: 5px;\\n}\\n\\nbutton {\\n width: 70px;\\n height: 70px;\\n border-width: 5px;\\n border-radius: 50%;\\n border-color: black;\\n color: #fff;\\n font-size: 20px;\\n outline: none;\\n}\\n\\n.bg-orange {\\n background-color: orange;\\n}\\n\\n.bg-light {\\n background-color: #777;\\n}\\n\\n.bg-gray {\\n background-color: #333;\\n}\\n\\nbutton:active {\\n transform: scale(0.9, 0.9);\\n}\\n\\nbutton:hover {\\n transform: scale(1.2, 1.2);\\n}\\n\\n\\n\\n\\n\\n\\n\\n\\n\",\"js\":\"$('button').click(clicked)\\nfunction clicked() {\\n var char = $(this).text();\\n var result;\\n var screen_val = $('p').text();\\n if (char == 'C') {\\n result = '';\\n } else if (char == 'del') {\\n result = screen_val.slice(0, screen_val.length - 1);\\n }\\n else if (char == '=') {\\n try {\\n result = eval(screen_val);\\n } catch (e) {\\n $('p').text('Error');\\n alert(e)\\n }\\n } else {\\n result = screen_val + char;\\n }\\n $('p').text(result);\\n}\"}","created_at":"2023-07-23T19:37:50.293+08:00","updated_at":"2023-07-23T19:37:54.585+08:00","name":"【綜合練習】實用計算機:實作 1 - 解答","language":"web","screenshot":{"url":null},"parent_id":574389,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":29,"hashid":"2pdsrd2wg","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦