Examples > text-adventures PLUGIN.JS (2/4) container.innerHTML = `

Text Adventures

Server
Player id

Experimental. The games run on your server. On the reader: Home -> Plugins -> Text Adventures. Anyone who knows the player id can see and play your saved games.

`; const out = (html, ok = true) => { $('[data-out]').innerHTML = html; $('[data-out]').style.color = ok ? 'var(--success-color)' : 'var(--danger-color)'; }; Next: 06 plugin.js (3/4)