Current:
const utterance = new SpeechSynthesisUtterance(name);Change to:
const utterance = new SpeechSynthesisUtterance(name.toLowerCase());This will make it say “m e r c u r y” instead of “CAPITAL M CAPITAL E CAPITAL R…”

Current:
const utterance = new SpeechSynthesisUtterance(name);Change to:
const utterance = new SpeechSynthesisUtterance(name.toLowerCase());This will make it say “m e r c u r y” instead of “CAPITAL M CAPITAL E CAPITAL R…”