{"id":9904,"student_id":10,"content":"{\"html\":\"\u003cimg id=\\\"pikachu\\\" src=\\\"\\\"/\u003e\",\"css\":\"#pikachu {\\n position: relative;\\n width: 160px;\\n height: 120px;\\n}\",\"js\":\"var current = 1;\\nvar position = 0;\\nvar speed = 25;\\n\\nfunction update() { \\n var pikachu = document.getElementById(\\\"pikachu\\\");\\n\\n if (current == 1) {\\n pikachu.src = \\\"http://s.ntustcoding.club/js-basic/pikachu/1.png\\\";\\n }\\n if (current == 2) {\\n pikachu.src = \\\"http://s.ntustcoding.club/js-basic/pikachu/2.png\\\";\\n }\\n if (current == 3) {\\n pikachu.src = \\\"http://s.ntustcoding.club/js-basic/pikachu/3.png\\\";\\n }\\n if (current == 4) {\\n pikachu.src = \\\"http://s.ntustcoding.club/js-basic/pikachu/4.png\\\";\\n }\\n\\n current = current + 1;\\n if (current \u003e 4) {\\n current = 1;\\n }\\n\\n position = position + speed;\\n pikachu.style.left = position + \\\"px\\\";\\n \\n if (position \u003e 950) {\\n speed = -speed;\\n pikachu.style.transform = \\\"scaleX(-1)\\\";\\n }\\n \\n if (position \u003c 0) {\\n speed = -speed;\\n pikachu.style.transform = \\\"scaleX(1)\\\";\\n }\\n}\\n\\nsetInterval(update, 100);\\n\\n\\n\"}","created_at":"2017-08-25T21:59:41.976+08:00","updated_at":"2019-11-10T00:24:17.236+08:00","name":"pika~ pika~","language":"web","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/9904/0fdfe8006cc563776a5d7a1f4708445e.jpg"},"parent_id":null,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":506,"hashid":"p93skkq5","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
到這台電腦