Pamphlet coloured rectangles

Day 27: Click and Drag to Scroll

We're building the ability for the user to click and drag the contents horizontally.

What Did I Learn?

This was a challenging exercise and one I had to review a few times. Just when I thought I was feeling more confident with offsets, Wes adds scrolling calculations. I'm definitely going to need to create some CodePens to practice.

Interested in participating in #JavaScript30?

Register here and learn at your own speed.