File tree Expand file tree Collapse file tree 3 files changed +7
-82
lines changed
Expand file tree Collapse file tree 3 files changed +7
-82
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,13 +28,7 @@ <h1>The Voiceinator 5000</h1>
2828
2929 </ div >
3030
31- < script >
32- const msg = new SpeechSynthesisUtterance ( ) ;
33- let voices = [ ] ;
34- const voicesDropdown = document . querySelector ( '[name="voice"]' ) ;
35- const options = document . querySelectorAll ( '[type="range"], [name="text"]' ) ;
36- const speakButton = document . querySelector ( '#speak' ) ;
37- const stopButton = document . querySelector ( '#stop' ) ;
31+ < script src ="speech.js ">
3832</ script >
3933
4034</ body >
Original file line number Diff line number Diff line change 1+ const msg = new SpeechSynthesisUtterance ( ) ;
2+ let voices = [ ] ;
3+ const voicesDropdown = document . querySelector ( '[name="voice"]' ) ;
4+ const options = document . querySelectorAll ( '[type="range"], [name="text"]' ) ;
5+ const speakButton = document . querySelector ( '#speak' ) ;
6+ const stopButton = document . querySelector ( '#stop' ) ;
You can’t perform that action at this time.
0 commit comments