JSFiddle - React, Tailwind, and code Playground
by dmethvin
HTML
<ol>
<li>this is an item 1 to display</li>
<li id="num2">this is an item 2 to display</li>
<li>this is an item 3 to display</li>
</ol>
<input type="button" onClick='$("#num2").hide();' value=' Hide number 2 '/>
<input type="button" onClick='$("#num2").show();' value=' Show number 2 '/>
<input type="button" onClick='$("#num2").hide(500);' value=' Hide number 2 slowly'/>
<input type="button" onClick='$("#num2").show(500);'
value=' Show number 2 slowly'/>
JavaScript
// #6585 (all code in html)