Checkpoint 要做什麼
只驗證本主題責任,不偷渡其他答案。
本主題檔案:files/main.js
定位:先在 handler 第一行輸出 event.type。
Checkpoint · code-edit
只驗證本主題責任,不偷渡其他答案。
只驗證本主題責任,不偷渡其他答案。
本主題檔案:files/main.js
定位:先在 handler 第一行輸出 event.type。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
output 尚無事件紀錄。
eventTypes 含 click/keydown、targetCount=1、key=Enter。
handler(event) 內讀 event.type 與 event.target。只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.cssmain.jsservices.html證據:types=click/keydown、target/key 與派送操作一致
前往 Solution →