Day 20: JavaScript Challenge
Mozilla has yet to implement SpeechRecognition
interface for Firefox, so I turn the challenge
into Stephen Hawking’s voice synthesizer. Utter the words you type, darling!
It only requires 13 lines of JavaScript code (including the comments). Here’s the demo.
Markup
<h1 class="title">Type What You Say <span>🔊</span></h1>
<div class="words" contenteditable>
</div>
<script src="scripts.js"></script>