if ('speechSynthesis' in window) {
console.log('Speech recognition supported 😊');
// code to handle recognition here
} else {
console.log('Speech recognition not supported 😢');
// code to handle error
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.