JSFiddle - React, Tailwind, and code Playground
by bohdantheone
HTML
<div id="wqwqw">
<a class="pmCatLink" href="#">Текст1</a>
<a class="pmCatLink" href="#">Текст2</a>
<a class="pmCatLink" href="#">Текст3</a>
<a class="pmCatLink" href="#">Текст4</a>
<a class="pmCatLink" href="#">Текст5</a>
</div>
JavaScript
var qqq = document.getElementById('wqwqw');
qqq.querySelector('.pmCatLink:nth-child(5)').style.visibility = "hidden";