JSFiddle - React, Tailwind, and code Playground
by JAAulde
HTML
<div id="address_billing">BILLING ADDRESS</div>
<input type="checkbox" name="address_same" value="1" />
CSS
#address_billing {
display: none;
}
JavaScript
$( '#address_billing' )
.toggle( ! $( 'input[name="address_same"]' ).is( ':checked' ) );