Starter 要做什麼
先看見缺口,再完成一個小修改。
本主題檔案:files/index.html
定位:先執行 querySelectorAll('[aria-current=page]').length。
Starter · code-edit
先看見缺口,再完成一個小修改。
先看見缺口,再完成一個小修改。
本主題檔案:files/index.html
定位:先執行 querySelectorAll('[aria-current=page]').length。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
本地 fixture 已準備 唯一 aria-current 的最小資料,尚未執行驗收。
每頁各一個 current target,六個 target 彼此唯一。
<a href='products.html' aria-current='page'>商品</a>只在本階段資料夾內操作,避免改到其他章節。
index.htmlproducts.htmlcss/style.css證據:count=6、uniqueCount=6、valid=true
前往 Checkpoint →