Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Stopping the Browser's Default Behavior8:11 with Treasure Porth
Prevent the browser from following links on click with the preventDefault() method.
You need to sign up for Treehouse in order to download course files.Sign up