...
Client side interactions are what your users will be interacting with within your app, such as home screens, menus, jobs lists, etc, and these should be built in HTML, and controlled via External external Javascript code.
Creating a Client Side Interaction:
...
Note: While Javascript can be added to Message interactions, it is best practice to keep Javascript and HTML code separate. Ideally a Message interaction should contain HTML code only, and your Javascript should be included as an External Javascript File (as described in the previous topic, “Configuring answerSpaces”).
Save and View:
To Save your interaction, click the “Save” button. You can now view your changes as a web app.
...