Solution 要做什麼
對照完整答案、責任邊界與原因。
本主題檔案:files/contact.html
定位:先確認兩個 radio 是同一題。
Solution · code-edit
對照完整答案、責任邊界與原因。
對照完整答案、責任邊界與原因。
本主題檔案:files/contact.html
定位:先確認兩個 radio 是同一題。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
radio 只放在 div,且沒有 name。
grouped=true、legendText 正確、radioCount=2、sharedName=true。
fieldset 內先放偏好聯絡方式 legend,再放共用 name 的兩個 radio。只在本階段資料夾內操作,避免改到其他章節。
index.htmlservices.htmlabout.htmlcontact.html證據:grouped、legendText、radioCount、sharedName
回到主題說明