// The blog's own comments, from its own address. fetch('/api/comments.json').then(function (r) { return r.json(); }).then(function (j) { document.getElementById('comments').textContent = j.comments.length + ' comments'; mine(); });