<button data-tasks="get-joke">Click Me</button>
<p id="output"></p>
<script data-tasktable type="application/json">
{
"get-joke": {
"action": "https://v2.jokeapi.dev/joke/Any?format=txt&safe-mode",
"method": "get",
"trigger": "click",
"target": "#output",
"swap": "inner"
}
}
</script>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/gh/mrhdias/secutio@master/dist/js/secutio.min.js?2024041301"></script>
<script>
const app = new Secutio();
app.init();
</script>
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.