April 7, 2019 at 11:44 am #286022
This is it I think:
By the way…
e.preventDefault() prevents the click from instantly snapping to the section (the default behaviour with anchor links) so that it can be animated instead. Where
e is the event itself – and its related data.