Created
July 18, 2020 22:50
-
-
Save ivanlynch/ef1b5cefbf583adce3213ff5f1483684 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
const currentSymbol = fetch("https://reqres.in/api/users") | |
.then((res) => { | |
return res.json(); | |
}) | |
.then((results) => { | |
console.log(results); | |
}) | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">const currentSymbol = fetch("https://reqres.in/api/users") | |
.then((res) => { | |
return res.json(); | |
}) | |
.then((results) => { | |
console.log(results); | |
})</script></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const currentSymbol = fetch("https://reqres.in/api/users") | |
.then((res) => { | |
return res.json(); | |
}) | |
.then((results) => { | |
console.log(results); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment