JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://github.com/davebalmer/jo/raw/master/js/jo.js"></script>
<link rel="stylesheet" href="https://github.com/davebalmer/jo/raw/master/css/jo.css">

JavaScript

function mainCard() {
    var card = new joCard([
        new joCaption("first"),   
        new joCaption("second"),
        new joCaption("third")
    ]);
    
    return card;
}

function init() {
    screen = new joScreen(
        new joContainer([
            new joFlexcol([
                nav = new joNavbar(),
                stack = new joStackScroller()
            ])
        ]).setStyle({position: "absolute", top: "0", left: "0", bottom: "0", right: "0"})
    );
    nav.setStack(stack);
    stack.push(mainCard())
};
alert("abc");
init();