JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" id="tum_liste" value="1" />
<div id="durum">asdasd </div>

JavaScript

$('#tum_liste').click(function() {
        if ($('#tum_liste').prop('checked')) {
        $('#durum').html('tıklandı'); 
        } else {
        $('#durum').html('tıklanmadı');
        }
});