JSFiddle

  • checkIn

    No-Library (pure JS), HTML, CSS, JavaScript

    var app = angular.module('myApp', []);
    
    function MyCtrl($scope) {
        var points = [];
        var canvas = document.getElementById('paint');
        var context = canvas.getContext('2d ...
  • parabola

    No-Library (pure JS), HTML, CSS, JavaScript

    var app = angular.module('myApp', []);
    
    function MyCtrl($scope) {
       var point = [];
        var parPoint = [];
        var length;
        var canvas = document.getElementById('paint');
        var ...
  • Type writer

    No-Library (pure JS), HTML, CSS, JavaScript

    (function(event) {
      // array with texts to type in typewriter
      var dataText = ["Start by doing whats necessary;\n\then do whats ...
  • Not array

    No-Library (pure JS), HTML, CSS, JavaScript

    var array1 = [1,2,3,4,5,6,7,8,9];
        var array2 = [2,3,4];
        var array3 = [5,6 ...
  • Object Length

    No-Library (pure JS), HTML, CSS, JavaScript

    Object.prototype.length = function(){
        return Object.keys(this).length
    }
    var obj = {'1':'asd','2':'ade','3':'asdf'};
    console.log(obj ...
  • question

    No-Library (pure JS), HTML, CSS, JavaScript

    var dailyPhotos;
    var today, img;
    dailyPhotos = function() {
        today = new Date();
        weekday = today.getDay();
        showImages = [];
        myPhotos = ["https://placehold.it/350x150?text ...
  • input table submit

    jQuery 1.9.1, HTML, CSS, JavaScript

    $(document).ready(function() {
                $('input[type="checkbox"]').click(function() {
                    var index = $(this).attr('name').substr(3);
                    index--;
                    $('table tr').each(function ...
  • rect on canvas #5 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    var point = [];
    var clicks = 0;
    
    var sketch = document.querySelector('#sketch');
    var sketch_style = getComputedStyle(sketch);
    // Creating a tmp canvas
    var tmp_canvas ...
  • Moving Line point fabric

    No-Library (pure JS), HTML, CSS, JavaScript

    var canvas = new fabric.Canvas("c", {selection: false});
    
    var line = new fabric.Line([450, 150, 50, 50], {            
                stroke: 'blue',
                strokeWidth ...