Starter 要做什麼
先看見缺口,再完成一個小修改。
本主題檔案:files/index.html
定位:同時記錄 DOM input.value、反應式值與 typeof,不只看畫面。
Starter · code-edit
先看見缺口,再完成一個小修改。
先看見缺口,再完成一個小修改。
本主題檔案:files/index.html
定位:同時記錄 DOM input.value、反應式值與 typeof,不只看畫面。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
name 有空白、amount=0、note=初始。
trimmed=David、numberValue=42、numberType=number、lazyBefore=初始、lazyAfter=完成。
v-model.trim='name'、v-model.number='amount'、v-model.lazy='note'。只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.cssmain.js證據:trimmed=David、numberType=number、lazyBefore=初始、lazyAfter=完成
前往 Checkpoint →