Joined April 2014
·

Martin Mårtensson

dasdasd
·
·

Posted to Smooth Scrolling without jQuery over 1 year ago

Thanks mate. You should use element.offsetTop instead of having a set number (e.g 800) in your target in your example. Would've been clearer.

Posted to Iterate over querySelectorAll result over 1 year ago

It's really stupid that you can use forEach on a result from querySelectorAll. Thanks for the tip tho, it helped me.

Achievements
8 Karma
0 Total ProTip Views
Interests & Skills