How do you create environment variables?

I’ve googled this a bit and most sources tell me to click the padlock on the left of my screen, however, I don’t see it.

Secrets are not available in HTML/CSS/JS repls, sorry, try Node.js or something.

1 Like

Hi @upsideumop!

HTML/JS/CSS is the only “special” kind of Repl. Things that apply for “all” Repls do not apply, and things that apply for it do not apply to others. Like the HTML/JS/CSS Repls are not actually hosted in the Repl, and they also do not have access to secrets or Replit DB. This is because they are frontend, and if they had access to secrets or DB, anyone who used your website could view / modify them!

If you want to use these features, I recommend a backend like Python Flask or NodeJS Express, which will let you safely use these features.