<div id="champ_text">0</div>
$(document).ready(function() {
var old_nbPoint = 0;
var nbPoint = 100;
jQuery({someValue: old_nbPoint}).animate({someValue: nbPoint}, {
    duration: 10000,
    easing:'swing',
    step: function() {
        $('#champ_text').text(Math.ceil(this.someValue) + " points");
    }
});
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js