I'm facing an issue with Bootstrap usage in the html section for checkboxes. It works fine there, but when I try to use it in the JavaScript section to append a tag, it doesn't seem to work.
Currently, I haven't been able to find a solution to this problem. What I want is for the functionality that works in the HTML section to also work the same way when added through JavaScript.
It seems like Bootstrap is not being utilized properly for the checkbox element.
let addItem = (value) => {
$("#todo").append(`<li>
<div class="custom-control custom-checkbox mb-3">
<input type="checkbox" class="custom-control-input" id="customCheck" name="example1">
<label class="custom-control-label" for="customCheck">${value}</label>
<button type="button" class="btn btn-danger" id="delete"><i class="fas fa-trash"></i></button>
</div>
</li>`);
}