Google Apps Script has no user interface, well, unless we code one. In this tutorial I walk through how to create a sidebar in Google Apps Script using HTML for structure, CSS to add style and some JavaScript output the sidebar to the user. Sidebars work in spreadsheets, Docs, and Forms. They help make you program, giving the user a way to interact without having to dive into the code.
Feel free to copy / steal / edit / mock the code to your liking.