vibecoded firefox text to speech with speed control
by Ebuka Chibueze
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text to Speech Converter</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.container {
background-color: rgba(255, 255, 255, 0.9);
border-radius: 20px;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
width: 90%;
max-width: 500px;
padding: 40px;
text-align: center;
}
h1 {
color: #333;
margin-bottom: 10px;
font-size: 2.5rem;
}
.subtitle {
color: #666;
margin-bottom: 30px;
font-size: 1.1rem;
}
.input-group {
margin-bottom: 25px;
}
input {
width: 100%;
padding: 15px;
border: 2px solid #ddd;
border-radius: 10px;
font-size: 1.1rem;
transition: border-color 0.3s;
}
input:focus {
border-color: #4a90e2;
outline: none;
}
.control-panel {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
margin-bottom: 25px;
}
.speed-control {
width: 100%;
text-align: left;
margin-top: 10px;
...