Click botton no response

Click botton no response

Hello.

I would like to figure out what im doing wrong as i do not get any results when click the button:

My script:
************************************************

HTML:

<button> procurar</button>
<div id="data"></div>

************************************************
JAVASCRIPT

$(document).ready(function(){

       $("button").click(function(){   
           
           $("#instagramPics").append("<div>Button Clicked</div>");
   
$.getJSON( url, function(data){
    $.each(data.data, function(key,item){
        $.each(item, function(subKey, subitem){
            var value= ( typeof subitem=='string')? subitem : subitem.length;
            $('body').append('<div>'+subKey+' : '+value +'</div>');
                                 
                });
    });
});

});
    
              
     });
 
 
Can you please help find out if i forget to mention something?

Regards.

Jorge