Live Coding D3.js

Learning About Your Web Browser


For many of you, this may be the first time you had to your your browser as a tool. Let's quickly step through some key functionalities:

The Console:


Document Object Model (DOM) tree:


Mouse Events:

Below, I show a range of mouse events capable using JavaScript. Mouse over the image below and see the logged mouse coordinates associated with each mouse event.


mousedown: {{onMouseDownResult}}
mouseup: {{onMouseUpResult}}
mouseenter: {{onMouseEnterResult}}
mouseleave: {{onMouseLeaveResult}}
mousemove: {{onMouseMoveResult}}
mouseover: {{onMouseOverResult}}

Copyright © Mike Taptich 2015... JK. Take what you want from here.