JSFiddle - React, Tailwind, and code Playground

HTML

<script src="javascript"></script>
<body>
<button type="button" class="btn-curso" id="primero" onclick="hiddenParcial()">Parcial</button>

    <button type="button" class="btn-finish"  id="segundo" onclick="hiddenTotal()" disabled>Total</button>
    
      <button type="button" class="btn-finish" id="tercero" onclick="visualiza_tercero()" disabled>Ninguno</button>
   </body>

JavaScript

function hiddenParcial() {
        document.getElementById("primero").disabled = true;
        document.getElementById("segundo").disabled = false;
        document.getElementById("tercero").disabled = false;
};

function hiddenTotal() {
        document.getElementById("primero").disabled = false;
        document.getElementById("segundo").disabled = true;
        document.getElementById("tercero").disabled = false;
};

function visualiza_tercero() {
        document.getElementById("primero").disabled = false;
        document.getElementById("segundo").disabled = false;
        document.getElementById("tercero").disabled = true;
};