Typewriter effect in html with audio using JavaScript