{"id":258812,"student_id":6526,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\n\u003chead\u003e\\n\\t\u003ctitle\u003ersmn小遊戲\u003c/title\u003e\\n\\t\u003c!--js--\u003e\u003cscript\u003e\\n\\n\\n\\n\\n \\nfunction replay() {\\n window.location.reload(); \\n\\n}\\n\\n\\n\\n var number2\\nfunction gamestart(){\\n \\n\\n\\n var word=document.getElementById(\\\"word\\\")\\n var word2=document.getElementById(\\\"word2\\\")\\n var number=document.getElementById(\\\"number\\\").value\\n number=Number(number)\\n if(number==\\\"\\\"){\\n word.innerHTML=\\\"輸入有誤! 數值為空,請輸入數字\\\"\\n }\\n else if(number2===number){\\n word.innerHTML=\\\"恭喜你猜對了\\\"\\n \\n }else if(number\u003enumber2){\\n word.innerHTML=\\\"比正確數字小\\\"\\n }else if(number\u003cnumber2){\\n word.innerHTML=\\\"比正確數字大\\\"\\n }\\n console.log(number2)\\n}\\n\\nfunction getRandom(min,max){\\nnumber2= Math.floor(Math.random()*(max-min+1))+min;\\n\\n}\\ngetRandom(1,300);\\n\\t\u003c/script\u003e\\n \\n\u003c/head\u003e\\n\u003cbody\u003e\\n \u003ch1\u003e終極密碼\u003c/h1\u003e\\n \u003cbr\u003e\\n \u003cdiv\u003e\\n 請輸入一個 1 至 300 之間 的 正整數:\u003cinput type=\\\"number\\\" max=\\\"300\\\" min=\\\"1\\\" step=\\\"1\\\" id=\\\"number\\\"\u003e\\n \u003cinput type=\\\"button\\\" onclick=\\\"gamestart()\\\" value=\\\"輸入\\\"\u003e\\n \u003cinput type=\\\"button\\\" onclick=\\\"replay()\\\" value=\\\"重新玩\\\"\u003e\\n \u003c/div\u003e\\n \u003cbr\u003e\\n \u003cbr\u003e\\n \u003cspan id=\\\"word\\\"\u003e\u003c/span\u003e\\n \u003cbr\u003e\\n \u003cbr\u003e\\n \\n\u003c/body\u003e\\n\u003c/html\u003e\",\"css\":\"h1{\\n text-align: center;\\n}\\nspan{\\n background-color:#135ed6;\\n color: #ffffff;\\n}\",\"js\":\"\"}","created_at":"2021-06-02T17:47:45.192+08:00","updated_at":"2021-06-04T00:49:40.226+08:00","name":"RSMN小遊戲","language":"web","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/258812/b89ed9f8671f4b31c5ee78145224dc56.jpg"},"parent_id":3,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":24,"hashid":"yeysvy862","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
到這台電腦