JSFiddle - React, Tailwind, and code Playground

HTML

<div class="pull-right article-index">
  <h3 id="fiston">Section de ce document</h3>
  <ul class="nav nav-tabs nav-stacked">
    <li class="toclink active">
      <a href="/index.php/administration-de-reseaux/14-linux-et-shell-bash/5-les-commandes-permettant-d-avoir-des-informations-sur-la-machine?showall=&amp;limitstart=" class="toclink active">Les commandes permettant d'avoir des informations sur la machine et le système d'exploitation et de modifier celui ci</a>
    </li>
    <li><a href="/index.php/administration-de-reseaux/14-linux-et-shell-bash/5-les-commandes-permettant-d-avoir-des-informations-sur-la-machine?showall=&amp;start=1" class="toclink">Récupérer des informations et modifier le système d'exploitation</a></li>
  </ul>
</div>

JavaScript

div = document.getElementById("fiston").parentElement;
div.style.backgroundColor = "red";