Closed Jvr2022 closed 1 year ago
Used a more efficient way to cache the scrollTop value.
Combined the addClass and removeClass calls into single toggleClass calls.
Added smooth scrolling functionality to anchor links.
Added comments to improve code readability.
Fixed a missing semicolon.
Used a more efficient way to cache the scrollTop value.
Combined the addClass and removeClass calls into single toggleClass calls.
Added smooth scrolling functionality to anchor links.
Added comments to improve code readability.
Fixed a missing semicolon.