JSFiddle - React, Tailwind, and code Playground

HTML

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