Just insert your code into any of the major JavaScript frameworks (Angular, React, Vue, etc.) and let it send out prompts for answers from an LLM. There are more than a dozen different options ...