JSFiddle - React, Tailwind, and code Playground
HTML
<ul class="list">
<li class="weeks">d</li>
</ul>
CSS
ul{width:100%; height:85px; background-color:red;}
.weeks{ width:50%; height:35px; background-color:blue;}
JavaScript
$(".weeks:empty").parent().hide();