To compile this example yourself use: elm --import-js="ChangeTitleHelp.js" ChangeTitle.elm This compiles the Elm file and includes the necessary JavaScript code. It produces a self-contained HTML file.