Skip to content

Instantly share code, notes, and snippets.

@jeanpierreb
Created May 22, 2015 19:12
Show Gist options
  • Select an option

  • Save jeanpierreb/0523fa5b5fe771f852d5 to your computer and use it in GitHub Desktop.

Select an option

Save jeanpierreb/0523fa5b5fe771f852d5 to your computer and use it in GitHub Desktop.

Revisions

  1. jeanpierreb created this gist May 22, 2015.
    11 changes: 11 additions & 0 deletions jsFiddle Console.log
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    // THE JS
    var console = {
    log: function (text) {
    document.getElementById('text').innerHTML = text;
    }
    }

    console.log('text');

    //THE HTML
    <div id="text"></div>