title: Accessing JSON elements from javascript
body: <pre><code>$.getJSON('http://23.21.128.153:3000/api/v1/holidays', function(data){
          alert("this: " + data.holiday[0].name);
   });
  </code></pre>
  
  <p>I'm trying to access the "name" attribute of the first element of my JSON response but without success, can anyone tell me what I'm doing wrong.</p>