Using numbersapi.com with jQuery

by divad12

HTML

We now have more users than <span id="number"></span>!

JavaScript

$(function() {
    $.get('http://numbersapi.com/1337/trivia?notfound=floor&fragment', function(data) {
        $('#number').text(data);
    });
});