Kent C. Dodds: 0:00 For this one, I want to show you the final version first because I think it's so cool. Look at that. Isn't that fancy? I think that's pretty fancy.
0:08 That's what you're going to be doing. Sometimes we got to interact with the DOM directly because either we need to do it or libraries that we're using need to do it. That's the case here. We have this cool library called vanilla-tilt that gives us that neat effect.
0:23 Vanilla-tilt is a Vanilla JavaScript library. It interacts with DOM nodes, sets up event handlers and all sorts of things so that it can do that cool effect, but how do we get the DOM node?
0:36 That's what you're going to be learning about here in the background. Go ahead and read up on that and then get into this exercise. We also have an alternate to refactor from classes. If you prefer to practice that, then you can do that.
0:49 I recommend doing both. If you have experience with classes, that is totally awesome thing to do. I'm going to be doing both and I'll see you on the other side of this exercise.