JSFiddle - React, Tailwind, and code Playground

HTML

<ul id="mylist"></ul>
<ul id="myotherlist"></ul>

JavaScript

var label = 'My label',
    checkbox = '<input type="checkbox">';
    listItem = '<li class="customise_option"><label>'+checkbox+' '+label+'</label></li>';

$('#mylist').append(checkbox);
$('#myotherlist').append(listItem);