JSFiddle - React, Tailwind, and code Playground

HTML

<table>
<tr>

<td class="degistir" contenteditable="true">20</td>
<td class="degistir" contenteditable="true">21</td>
<td class="degistir" contenteditable="true">22</td>
<td class="degistir" contenteditable="true">22</td>
<td class="degistir" contenteditable="true">24</td>
<td class="degistir" contenteditable="true" id='net'>25</td>
  
</tr>

</table>

CSS

td {
  height:50px;
  width:50px;
  border:1px solid black;
}
#net {
  
  background-color:#ffcc33;
}

JavaScript

var contents = $('.degistir').html();
$('.degistir').blur(function() {
    if (contents!=$(this).html()){
  
  
        contents = $(this).html();
        $('#net').text(contents);

    }
});