DEV Community

Discussion on: Make a parallax effect with 10 lines of JavaScript

Collapse
 
ibrahima92 profile image
Ibrahima Ndaw

You're absolutely right. I always use selectors in that way. For a real apps, i should control the scroll with a debounce function, but for this quick may be it's not mandatory. So thanks again for your very useful comment.