Simple functions to build html strings.
f = Flatesfdiv id: 'foo' fp'This Works? ' + fstrong'Weeeeeeeeeeee'// <div id="foo"><p>This Works? <strong>Weeeeeeeeeeee</strong></p></div>
Or you can do more complicated stuff, like recursively building html from an object.
if !obj return objelse if ArrayisArrayobj return fulobjmapbuildmapflielse if typeof obj === 'object'return fdlObjectkeysobjmapreturn fdtkey + fddbuildobjkeyelse return obj
You'll notice arrays are turned into strings internally using .join(''), stringify them beforehand if you want them joined another way.