CodePen

HTML

            
              
            
          
!
via HTML Inspector

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              var url = “http://api.usatoday.com/open/articles/topnews/home?count=10&days=0&page=0&encoding=json&api_key=YOUR_API_KEY”;
$.ajax ({
 url: url,
 type: "GET",
 dataType: "json",

 success: function(data){ alert("Request succeeded. Data: " + data); }, 
 error: function(xhr) { alert("Request error"); }
});

            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................