Something is wrong: ask AI to fix it AI-made tools can have bugs. Describing what you did and what happened makes repairs easier. What you will make Get corrected HTML with accurate counting while keeping the original file. Example result Before: checking only the first item incorrectly shows 0/3. After: checking only the first item correctly shows 1/3. This is a prepared example. Your AI may use different wording. Follow along Work in your own AI tool Practice material The fictional checklist has three tasks: Download tickets, Confirm meeting location, Bring a water bottle. Broken file: downloads/curriculum/broken-checklist-en.html Working comparison: downloads/curriculum/correct-checklist-en.html Known issue: checking the first item does not increase the completed count. Request for AI I will paste broken HTML. Checking only the first item should show 1/3 but shows 0/3; checking the first two should show 2/3 but shows 1/3. Find the cause and fix only the counting issue. Keep the text, reset, and zero-on-reopen behavior. Give complete corrected code and briefly explain the change. 1. Select Download the original file and Download the reference fix. Keep both originals. 2. Open the broken file in a browser. Check the first item, then the second: it incorrectly shows 0/3 and 1/3. 3. Select Copy broken code and request. Paste the complete broken HTML and repair request directly into your AI tool and send them. 4. Paste AI’s complete corrected HTML into this page’s Complete HTML code field and select Update isolated preview. 5. Try the first item alone, the first two, unchecking the first, and reset: expect 1/3, 2/3, 1/3, and 0/3. Select Download this HTML to keep the fix. 6. Open the retained reference fix separately, practicing a return to a working version. After trying: compare a possible result The code starts counting from the second item, skipping the first. Remove .slice(1) from the counting expression so every checkbox is included. After repair: first item alone 1/3, first two 2/3, uncheck the first 1/3, reset 0/3. Always adding 1 would incorrectly show 1 when nothing is checked. Check these parts of your result The first item alone shows 1/3 and is no longer skipped. First two checked: 2/3; uncheck the first: 1/3; reset: 0/3. Do not always add 1; with nothing checked the count must be 0/3. Try a different situation yourself Open the fictional independent-task bug webpage and download downloads/curriculum/reset-bug-en.html to keep the original. Its two reading tasks are Choose an article and Write three questions. It starts at 0/2; checking both gives 2/2. Reset clears the checks but still displays 2/2. This specific file defines updateCount(), but reset clears checks without calling it. Select this exercise’s Copy broken code and request button, paste directly into your AI tool, add your reproduction report, and request a minimal fix. Test the complete repaired HTML in the workspace, download it as a separate file, then reopen and retest. Download correct-reset-en.html for comparison; do not apply the change to unrelated code with an unknown structure. Reproduce: reopen→check both→reset. Expected unchecked and 0/2; actual unchecked and 2/2. Call updateCount() after clearing checks. Test 2→reset 0→check first 1. Do not merely hide the incorrect number. Try a more involved task Open the prepared search/reset bug webpage and download search-reset-bug-en.html to preserve the original. Reproduce the uncleared hidden item. Select this exercise’s Copy broken code and request button, paste directly into your AI tool, add the observed result, and request a minimal fix. Paste the complete repaired HTML into the workspace, download a separate working copy, then reopen it and run the regression steps below. Fictional bug file: downloads/curriculum/search-reset-bug-en.html; reference fix: downloads/curriculum/correct-search-reset-en.html. Tasks in order: Download tickets, Confirm meeting location, Bring a water bottle. The count includes all items; search changes visibility only; reset must clear every checkbox and search. Intentional bug: reset clears only currently visible items before clearing search, leaving hidden checked items checked. I will paste this broken HTML. Explain and reproduce: check the first and third items for 2/3; search tickets so only the first is visible, still 2/3; reset should show all items at 0/3, but actually shows all at 1/3 with the third still checked. Fix only reset so it traverses all checkboxes rather than just visible ones. Preserve search and counting scope. Return the complete fixed file, minimal difference, and regression steps. Reproduction: check items 1 and 3→2/3; search tickets→one visible, still 2/3; reset→all visible but 1/3, with the third still checked. After the fix, the same sequence must reset to all visible and 0/3, clearing the hidden third item too. Then check the first two 2/3→uncheck first 1/3→reset 0/3. Search still changes only visibility, not counting scope. Change the reset clearing scope to all checkboxes; do not delete the third item or force the display to zero while leaving it checked. Preserve the original and reopen it if restoration is needed. Save your work and continue later Save the AI response in your own notes and add one sentence about what you changed. You can also use the optional record below.