CodePen

HTML

            
              
            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              function Point() {
    var x = 0;
    var y = 0;
    var z = 0;

    return {
        moveBy: function (i, j, k) {x+=i; y+=j; z+=k;},
        moveTo: function (i, j, k) {x=i; y=j; z=k;},
        show: function () {console.log("Current position is",x,",",y,",",z)}
    }
}
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................