---
title: "Discussion on \"📢Stop adding API_KEY to tutorials. Do this...\" | Hashnode"
description: "Discussion on \"📢Stop adding API_KEY to tutorials. Do this...\". There are so many tutorials out there that add API_KEY to code.\nAnd some other people now use their keys. Don't do that again.\n📢 Do this instead 👇\nconst API_NAME = \"myAPI\";\nconst API_KEY = prompt (\"Enter your API_KEY:\");\n\nThis gives you the chance ..."
url: "https://hashnode.com/posts/stop-adding-apikey-to-tutorials-do-this/63f4d4643d5dc60e2b30e586"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [📢Stop adding API\_KEY to tutorials. Do this...](https://ayobamie.com/stop-adding-apikey-to-tutorials-do-this?utm_source=hashnode&utm_medium=feed)

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 ...

Feb 21, 2023 · 1 min read · ayobamie.com  
Read the article

-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#apis](https://hashnode.com/tag/apis)
-   [#website](https://hashnode.com/tag/website)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Ogundiran Ayobami](https://hashnode.com/@codingnninja)

@codingnninja

  
[View profile](https://hashnode.com/@codingnninja)

Making programming easy to learn for all.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
