The below code can display a single random letter in each box. However, a letter should not be able to appear on different boxes at the same time as one of the boxes. For example, box 1 displays "A", then box 2 and 3 cannot display "A" also.
        function random() {
        var letter = [];
        for (var i = 65; i < 91; i++)
        {
            letter.push(String.fromCharCode(i));
        }
    
        return letter[Math.floor(Math.random() * letter.Length)];
      }
  
        function display()
        {
                document.getElementById("box1").textContent = random();
                document.getElementById("box2").textContent = random();
                document.getElementById("box3").textContent = random(); 
        }
 
     
     
    