JSFiddle - React, Tailwind, and code Playground
HTML
<script>x=document;v='innerHTML';o='onclick';x.write("<input id=a><b id=b>➕</b><p id=d>clear<ul id=c><style>.y{text-decoration:line-through}"),b[o]=b=>{b=x.createElement("li");c.append(b);b[v]=a.value,a.value="",b[o]=e=>b.classList.toggle('y');d[o]=e=>c[v]=''};</script>