henryhale/ttspeech ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple text to speech web app in plain HTML, CSS, and JavaScript.

I want a page where someone can type or paste text, then click a button to hear it spoken out loud using the browser’s built in speech engine. It should feel easy to use, with a clean basic interface, and it should work as well as possible in browsers that support text to speech.

Please include a text box, a speak button, and controls for things like voice, speed, and pitch if the browser supports them. If the browser does not support speech synthesis, show a friendly message instead of breaking. Make it look a little nicer than a bare bones demo, but keep it lightweight and simple.

Use the existing project structure if that helps, and keep everything vanilla, no frameworks. If you need to check current browser support or speech synthesis details online, go ahead and look them up.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab