text: window.onload = () => {
    window.SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;
  
    const recognition = new SpeechRecognition();
    recognition.interimResults = true;  
  
    let p = document.createElement('p');
    const words = document.querySelector('.words');
    words.appendChild(p);
  
    recognition.addEventListener('result', e => {
      const transcript = Array.from(e.results)
    });
  
    recognition.start();
  }