Day 4: Added JavaScript Transition Effect