Skip to content

Instantly share code, notes, and snippets.

@pherrymason
Created April 23, 2019 15:07
Show Gist options
  • Save pherrymason/6319a915b3a66f6d1934f9ca2b06a0f6 to your computer and use it in GitHub Desktop.
Save pherrymason/6319a915b3a66f6d1934f9ca2b06a0f6 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<script id="jsbin-javascript">
var url = 'https://jsonplaceholder.typicode.com/todos/1';
$.ajax(url);
</script>
<script id="jsbin-source-javascript" type="text/javascript">var url = 'https://jsonplaceholder.typicode.com/todos/1';
$.ajax(url);</script></body>
</html>
var url = 'https://jsonplaceholder.typicode.com/todos/1';
$.ajax(url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment