Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <!-- React -->
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
</head>
<body>
  <div id="tform"></div>
</body>
</html>
 
$(document).ready(function(){
  $.getJSON('http://reqres.in/api/users?page=2', function(json) {
    $( '#tform').append( '<div class="name">'+ json.data[1].first_name + ' ' + json.data[1].last_name + '</div>');
  }); 
});
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
fabepro
0viewers