Uncaught ReferenceError: process is not defined / how to use environment variables in HTML?

This article talks about “ways to use environment variables at Netlify” that has some direct examples: