JSFiddle - React, Tailwind, and code Playground

by iambriansreed

HTML

<div class="PageHeaderDescription">
  <h1>Bistro 300</h1>
    <img border="0" id="EntityPic621">
    This is some text
</div>

<pre></pre>

JavaScript

var phd = $("div.PageHeaderDescription");

if (!$("img:not([src])",phd).legnth || $("img[src]",phd).attr('src').length == 0) {
    phd.hide();
}