Click to show TOC
I am going to see how to modularize a try example into multiple files.
While we are here we can demonstrate how to display data, amd show how to incorporate into a new file (in a sub directory modular)
The simplest way of displaying data is to end the script with a expression that returns a value that is not undefined.
 
If we need to display display and other points of the script at ponts other than at the end, we need a display function, for example console.log
First we will use the $$.D to display Javascript expressions. This function is very similar to console.log(expr1, expr2)
 
Here we will show how to render some HTML. In order to support remdering, TryITjs uses Semantic-UI