JSFiddle - React, Tailwind, and code Playground

by ajthomascouk

HTML

<div class="entry-meta">  
            <span class="label">Tagged:</span>
           <span class="tags"> 
            <a href="#" rel="tag">Career change</a>, 
            <a href="" rel="tag">career change e course</a>, 
            <a href="#" rel="tag">career help</a>
           </span>
    </div><!-- END .entry-meta -->

JavaScript

$('a').each(function(){
    if ($(this).attr('href') == ''){
        $(this).hide();
    }
});