JS - Practice Projects
Small projects help connect syntax with real interaction.
Projects
- Number guess game example (猜数字游戏案例)
- Random password generator (随机密码生成器)
- Shuffle an array
- Digital Clock Program
- Stopwatch Program
- Calculator Program
What Each Project Practices
| Project | Main practice |
|---|---|
| number guess game | conditions, loops, random number |
| random password generator | strings, arrays, functions |
| shuffle an array | arrays and randomization |
| digital clock | date object, timers, DOM |
| stopwatch | timers, state, DOM updates |
| calculator | events, DOM, basic expression handling |