Screenshot of source code: if (db.kittens === undefined) db.kittens = {count: 1} export default _ => { db.kittens.count++ return html` <h1>Kitten count</h1> <p>${'😸️'.repeat(db.kittens.count > 20 ? 20 : db.kittens.count)}</p> <if ${db.kittens.count > 20}> <then> <p>(and <strong>${db.kittens.count - 20}</strong> more.)</p> </then> <else> <small>Keep refreshing, we need more kittens!</small> </else> </if> ` }
https://s3-eu-central-1.amazonaws.com/mastodon-aral/media_attachments/files/109/999/801/224/765/564/original/b4b6af4147ac0e6f.png