Walk the shoreline and take in the ocean air along this 2km stretch of sand.
This family-friendly destination is known for its warm, shallow waters and stunning sunsets over the Gulf of St. Lawrence. A scenic boardwalk runs alongside the beach, offering incredible views of the world-renowned Cabot Links golf course and the opportunity for a lovely stroll.
That makes perfect sense—if you’re on the final stop, there is no "Next," so the button is technically a "liar" if it stays visible!
To fix this, we need to change the logic so that instead of waiting for the last section to leave the screen, the button fades out as soon as the last section arrives at the top of the screen.
The Updated Script
This version specifically checks if the Last Stop has reached the top of the viewport.
HTML