These are some simple ways to see how ports work in Elm, and how your Elm code can interoperate with arbitrary JavaScript. They are meant to be as illustrative as possible for beginners.
Go to each sub-folder and read its README.md.
Simple examples of port programs for Elm and JavaScript interoperation
ElmGPL-3.0