dev-resources.site
for different kinds of informations.
π’Stop adding API_KEY to tutorials. Do this...
Published at
2/21/2023
Categories
api
tutorial
coding
webdev
Author
Ayobami Ogundiran
There are so many tutorials out there that add API_KEY to code.
And some other people now use their keys. Don't do that again.
π’ Do this instead π
const API_NAME = "myAPI";
const API_KEY = prompt ("Enter your API_KEY:");
This gives you the chance to test your code and learners can create their API_KEY to test it.
Note: This is only for the browser π.
You can further explain the normal way to do it and why you do it that way not to confuse learners.
Thank me later π€©.
Articles
12 articles in total
Why I won't use querySelector again.
read article
Build a note app with JavaScript component.
read article
Yoko: Live coding without really coding.
read article
$render.js: Unleashing JSX in both browsers and servers without a virtual DOM.
read article
$render β write React with pure JavaScript.
read article
DevRel is not a big deal: How to do it like a PRO?
read article
Breaking the Barrier: The Science of Selling to Developers
read article
DevRel is marketing in disguise
read article
Why do you use Typescript with automated tests?
read article
How to extract title, description or metadata from markdown
read article
π’Stop adding API_KEY to tutorials. Do this...
currently reading
Big O Notation in summary πͺ.
read article
Featured ones: