Build
Start with a local example that displays a count of one when zero is expected. Describe how to reproduce it, then make the smallest correction.
Reproduce a defect, fix it and write a regression test.
Start a browser preview, read the console and make a small JavaScript edit.
A practice counter says one before anyone clicks. To fix the right problem, write down what you observe and how you obtained it before changing the starter.
Do not fix the label by hard-coding a displayed zero while leaving the underlying count at one.
Run the checks below and write down what you expected, what happened, and one change you can demonstrate. Self-checks are practice evidence, not a verified grade.
Start with a local example that displays a count of one when zero is expected. Describe how to reproduce it, then make the smallest correction.
Test the initial value and one increment in the exported project. Write one assertion that would have failed before your change.
What made your regression test more useful than a visual check alone?
The initial value should be zero. Reproduce the bug and write down what you observed.
Give the tutor expected and actual behaviour. Ask for the smallest test that distinguishes them.