Board Thread:General Coding Help/@comment-32922752-20181003142914/@comment-32922752-20181003145101

I have added like that function getViewCount { $.getJSON('https://www.googleapis.com/youtube/v3/videos?part=statistics&id=kJQP7kiw5Fk&key=AIzaSyAovb7xAE_oNZrxTJm1JAbKTMpt92fgzzo', function(data) {                var viewCount = data.items[0].statistics.viewCount;                 $('body').append(viewCount);             }); }        $('.GetViewCount').click(getViewCount); But my page still don't show anything