Optional: good to know Step 15 of 16 on the Frontend Developer roadmap

Environment settings

Settings like the API address often differ between your laptop and the live site, and build tools can read them from environment variables. Remember that anything in frontend code is visible to everyone, so never put secrets there.

More in Deploying a static site

See it on the Frontend Developer roadmap