JSFiddle - React, Tailwind, and code Playground

HTML

<table>
  <tbody>
<tr src="https://www.apple.com/" onerror="Error(this);">
<td class="listname">Steve</td>
<td class="listdesc">Apple</td>
</tr>
      <tr src="windows" onerror="Error(this);">
<td class="listname">Bill</td>
<td class="listdesc">Windows</td>
</tr>
      </tbody>
</table>

JavaScript

function trError(tr) {
    tr.style.display = 'none';
}