Created
June 5, 2022 16:38
-
-
Save bglgwyng/63e7a3d2ac1fe2035c3e60a29f911e20 to your computer and use it in GitHub Desktop.
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
<body> | |
<input type="file" accept="image/*" capture="user" /> | |
<script> | |
const input = document.querySelector("input") | |
console.info(input) | |
input.addEventListener("input", async (e) => { | |
fetch("https://api.exchangeratesapi.io/v1/") | |
await new Promise((resolve) => setTimeout(resolve, 1000)); | |
fetch("https://api.exchangeratesapi.io/v1/") | |
}); | |
</script> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment