- Replace magic numbers with seconds-based timing constants
- Switch from scrollTo() to hardware-accelerated transform for smooth scrolling
- Add scroll caching to prevent repeated DOM queries every scroll cycle
- Fix calculations to support flexible hourly forecast lengths
(i.e. in the future, could offer every other hour)
- Switch to safeJson() for centralized error handling
|
||
|---|---|---|
| .. | ||
| fonts | ||
| images | ||
| music | ||
| scripts | ||
| styles | ||
| manifest.json | ||
| robots.txt | ||