Checkpoint 要做什麼
只驗證本主題責任,不偷渡其他答案。
本主題檔案:files/main.js
定位:先在 append 前記錄 fragment.childElementCount。
Checkpoint · code-edit
只驗證本主題責任,不偷渡其他答案。
只驗證本主題責任,不偷渡其他答案。
本主題檔案:files/main.js
定位:先在 append 前記錄 fragment.childElementCount。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
空 list 與三筆文字資料。
fragmentBefore=3、domAfter=3、fragmentAfter=0、appendCalls=1。
const fragment=document.createDocumentFragment(); fragment.append(li); list.append(fragment)。只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.cssmain.js證據:fragmentBefore=3、domAfter=3、fragmentAfter=0
前往 Solution →