Youtube API and .env stuff. And HTML stuff.
I want to make a website... for a youtube channel...
I need to get the channel ID.
But I don't want anyone seeing it... obviously
So how do I use a .env file?
i have a <button>
and a var
so how do i make it so the var is in the button
i already made a innerHTML thing
but how do i implement?
Ok so for your first question, have you ever made discord bots and you know how you have to put the bot token in the .env file, id say do something similar. For your second I don't really know what you are saying but you can just do
document.getElementById("buttonId").innerHTML = variable;