Spaces:
Running
Running
Update index.html
Browse files- index.html +498 -596
index.html
CHANGED
|
@@ -1,603 +1,505 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Table Topics
|
| 7 |
-
<style>
|
| 8 |
-
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
.
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
.
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
color: #
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
}
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
cursor:
|
| 115 |
-
|
| 116 |
-
}
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
}
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
text-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
}
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
.
|
| 190 |
-
font-size:
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
.
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
margin-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
.
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
}
|
| 219 |
-
|
| 220 |
-
.
|
| 221 |
-
.
|
| 222 |
-
.
|
| 223 |
-
|
| 224 |
-
gap: 1rem;
|
| 225 |
-
justify-content: center;
|
| 226 |
-
flex-wrap: wrap;
|
| 227 |
-
}
|
| 228 |
-
.btn {
|
| 229 |
-
padding: 0.75rem 2rem;
|
| 230 |
-
border: none;
|
| 231 |
-
border-radius: 0.5rem;
|
| 232 |
-
font-weight: 600;
|
| 233 |
-
cursor: pointer;
|
| 234 |
-
transition: all 0.2s;
|
| 235 |
-
font-size: 1rem;
|
| 236 |
-
}
|
| 237 |
-
.btn-start {
|
| 238 |
-
background: #10b981;
|
| 239 |
-
color: white;
|
| 240 |
-
}
|
| 241 |
-
.btn-start:hover { background: #059669; }
|
| 242 |
-
.btn-start:disabled {
|
| 243 |
-
background: #d1d5db;
|
| 244 |
-
cursor: not-allowed;
|
| 245 |
-
}
|
| 246 |
-
.btn-next {
|
| 247 |
-
background: #3b82f6;
|
| 248 |
-
color: white;
|
| 249 |
-
}
|
| 250 |
-
.btn-next:hover { background: #2563eb; }
|
| 251 |
-
.btn-reset {
|
| 252 |
-
background: #ef4444;
|
| 253 |
-
color: white;
|
| 254 |
-
}
|
| 255 |
-
.btn-reset:hover { background: #dc2626; }
|
| 256 |
-
.btn-back {
|
| 257 |
-
background: #6b7280;
|
| 258 |
-
color: white;
|
| 259 |
-
}
|
| 260 |
-
.btn-back:hover { background: #4b5563; }
|
| 261 |
-
.instructions {
|
| 262 |
-
background: #fef3c7;
|
| 263 |
-
border: 2px solid #fbbf24;
|
| 264 |
-
border-radius: 0.75rem;
|
| 265 |
-
padding: 1.5rem;
|
| 266 |
-
margin-bottom: 2rem;
|
| 267 |
-
}
|
| 268 |
-
.instructions h3 {
|
| 269 |
-
color: #92400e;
|
| 270 |
-
font-weight: bold;
|
| 271 |
-
margin-bottom: 0.75rem;
|
| 272 |
-
font-size: 1.125rem;
|
| 273 |
-
}
|
| 274 |
-
.instructions ul {
|
| 275 |
-
margin-left: 1.5rem;
|
| 276 |
-
color: #78350f;
|
| 277 |
-
}
|
| 278 |
-
.instructions li {
|
| 279 |
-
margin-bottom: 0.5rem;
|
| 280 |
-
line-height: 1.5;
|
| 281 |
-
}
|
| 282 |
-
@media (max-width: 768px) {
|
| 283 |
-
.title { font-size: 2rem; }
|
| 284 |
-
.timer-display { font-size: 3rem; }
|
| 285 |
-
.topics-grid { grid-template-columns: 1fr; }
|
| 286 |
-
}
|
| 287 |
-
</style>
|
| 288 |
</head>
|
| 289 |
<body>
|
| 290 |
-
<div class="container">
|
| 291 |
-
<
|
| 292 |
-
<
|
| 293 |
-
|
| 294 |
-
</
|
| 295 |
-
|
| 296 |
-
<div class="
|
| 297 |
-
<
|
| 298 |
-
<
|
| 299 |
-
<
|
| 300 |
-
<
|
| 301 |
-
|
| 302 |
-
<
|
| 303 |
-
<
|
| 304 |
-
<
|
| 305 |
-
<
|
| 306 |
-
</div>
|
| 307 |
-
</div>
|
| 308 |
-
|
| 309 |
-
<div class="
|
| 310 |
-
<div
|
| 311 |
-
<div class="
|
| 312 |
-
<div class="
|
| 313 |
-
</div>
|
| 314 |
-
|
| 315 |
-
<div class="
|
| 316 |
-
<
|
| 317 |
-
<
|
| 318 |
-
<
|
| 319 |
-
<
|
| 320 |
-
<
|
| 321 |
-
<
|
| 322 |
-
</
|
| 323 |
-
<
|
| 324 |
-
|
| 325 |
-
<
|
| 326 |
-
|
| 327 |
-
<div
|
| 328 |
-
|
| 329 |
-
<
|
| 330 |
-
</
|
| 331 |
-
</
|
| 332 |
-
|
| 333 |
-
<
|
| 334 |
-
<div
|
| 335 |
-
|
| 336 |
-
<
|
| 337 |
-
</div>
|
| 338 |
-
|
| 339 |
-
<div class="
|
| 340 |
-
<div class="
|
| 341 |
-
<div class="
|
| 342 |
-
<div
|
| 343 |
-
<div
|
| 344 |
-
|
| 345 |
-
<
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
|
| 354 |
-
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
| 361 |
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
'
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
'
|
| 393 |
-
'
|
| 394 |
-
'
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
'
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
'
|
| 430 |
-
|
| 431 |
-
'You're
|
| 432 |
-
'
|
| 433 |
-
'You
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
'
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
'
|
| 458 |
-
|
| 459 |
-
'
|
| 460 |
-
|
| 461 |
-
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
|
| 468 |
-
|
| 469 |
-
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
|
| 477 |
-
|
| 478 |
-
const
|
| 479 |
-
|
| 480 |
-
|
| 481 |
-
|
| 482 |
-
|
| 483 |
-
|
| 484 |
-
|
| 485 |
-
const
|
| 486 |
-
|
| 487 |
-
const
|
| 488 |
-
|
| 489 |
-
|
| 490 |
-
|
| 491 |
-
|
| 492 |
-
|
| 493 |
-
|
| 494 |
-
|
| 495 |
-
|
| 496 |
-
|
| 497 |
-
|
| 498 |
-
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
|
| 505 |
-
|
| 506 |
-
|
| 507 |
-
|
| 508 |
-
|
| 509 |
-
|
| 510 |
-
|
| 511 |
-
|
| 512 |
-
|
| 513 |
-
|
| 514 |
-
|
| 515 |
-
}
|
| 516 |
-
|
| 517 |
-
|
| 518 |
-
|
| 519 |
-
|
| 520 |
-
|
| 521 |
-
|
| 522 |
-
|
| 523 |
-
|
| 524 |
-
|
| 525 |
-
|
| 526 |
-
|
| 527 |
-
|
| 528 |
-
|
| 529 |
-
|
| 530 |
-
|
| 531 |
-
|
| 532 |
-
|
| 533 |
-
|
| 534 |
-
|
| 535 |
-
|
| 536 |
-
|
| 537 |
-
|
| 538 |
-
|
| 539 |
-
|
| 540 |
-
updateTimerDisplay()
|
| 541 |
-
|
| 542 |
-
|
| 543 |
-
|
| 544 |
-
|
| 545 |
-
|
| 546 |
-
|
| 547 |
-
|
| 548 |
-
|
| 549 |
-
|
| 550 |
-
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
|
| 557 |
-
|
| 558 |
-
|
| 559 |
-
|
| 560 |
-
|
| 561 |
-
|
| 562 |
-
|
| 563 |
-
|
| 564 |
-
|
| 565 |
-
|
| 566 |
-
updateTimerDisplay();
|
| 567 |
-
|
| 568 |
-
if (timeElapsed >= 120) {
|
| 569 |
-
clearInterval(timerInterval);
|
| 570 |
-
isRunning = false;
|
| 571 |
-
}
|
| 572 |
-
}, 1000);
|
| 573 |
-
}
|
| 574 |
-
|
| 575 |
-
startBtn.addEventListener('click', startTimer);
|
| 576 |
-
|
| 577 |
-
nextSpeakerBtn.addEventListener('click', () => {
|
| 578 |
-
speakingSection.classList.remove('active');
|
| 579 |
-
topicsContainer.classList.add('active');
|
| 580 |
-
renderTopics();
|
| 581 |
-
resetTimer();
|
| 582 |
-
});
|
| 583 |
-
|
| 584 |
-
backBtn.addEventListener('click', () => {
|
| 585 |
-
topicsContainer.classList.remove('active');
|
| 586 |
-
categorySelection.style.display = 'block';
|
| 587 |
-
});
|
| 588 |
-
|
| 589 |
-
backToTopicsBtn.addEventListener('click', () => {
|
| 590 |
-
speakingSection.classList.remove('active');
|
| 591 |
-
topicsContainer.classList.add('active');
|
| 592 |
-
resetTimer();
|
| 593 |
-
});
|
| 594 |
-
|
| 595 |
-
resetUsedBtn.addEventListener('click', () => {
|
| 596 |
-
if (confirm('Reset all used topics for this theme?')) {
|
| 597 |
-
usedTopics = [];
|
| 598 |
-
renderTopics();
|
| 599 |
-
}
|
| 600 |
-
});
|
| 601 |
-
</script>
|
| 602 |
</body>
|
| 603 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Toastmasters Table Topics</title>
|
| 7 |
+
<style>
|
| 8 |
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 9 |
+
|
| 10 |
+
body {
|
| 11 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
| 12 |
+
background: linear-gradient(to bottom right, #dbeafe, #bfdbfe);
|
| 13 |
+
min-height: 100vh;
|
| 14 |
+
display: flex;
|
| 15 |
+
justify-content: center;
|
| 16 |
+
align-items: center;
|
| 17 |
+
padding: 20px;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.container {
|
| 21 |
+
background: white;
|
| 22 |
+
border-radius: 20px;
|
| 23 |
+
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
|
| 24 |
+
padding: 40px;
|
| 25 |
+
max-width: 700px;
|
| 26 |
+
width: 100%;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
h1 {
|
| 30 |
+
color: #1e40af;
|
| 31 |
+
text-align: center;
|
| 32 |
+
margin-bottom: 10px;
|
| 33 |
+
font-size: 2em;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.subtitle {
|
| 37 |
+
text-align: center;
|
| 38 |
+
color: #64748b;
|
| 39 |
+
margin-bottom: 30px;
|
| 40 |
+
font-size: 0.95em;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.timer-display {
|
| 44 |
+
text-align: center;
|
| 45 |
+
font-size: 3em;
|
| 46 |
+
font-weight: bold;
|
| 47 |
+
margin-bottom: 30px;
|
| 48 |
+
font-variant-numeric: tabular-nums;
|
| 49 |
+
transition: color 0.3s;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.timer-green { color: #10b981; }
|
| 53 |
+
.timer-yellow { color: #f59e0b; }
|
| 54 |
+
.timer-red { color: #ef4444; }
|
| 55 |
+
|
| 56 |
+
.controls-box {
|
| 57 |
+
background: #f8fafc;
|
| 58 |
+
border-radius: 15px;
|
| 59 |
+
padding: 25px;
|
| 60 |
+
margin-bottom: 25px;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.theme-selection {
|
| 64 |
+
margin-bottom: 20px;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.theme-grid {
|
| 68 |
+
display: grid;
|
| 69 |
+
grid-template-columns: 1fr;
|
| 70 |
+
gap: 10px;
|
| 71 |
+
margin-bottom: 15px;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.theme-option {
|
| 75 |
+
padding: 15px;
|
| 76 |
+
border: 2px solid #e2e8f0;
|
| 77 |
+
border-radius: 10px;
|
| 78 |
+
background: white;
|
| 79 |
+
cursor: pointer;
|
| 80 |
+
transition: all 0.2s;
|
| 81 |
+
text-align: left;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.theme-option:hover {
|
| 85 |
+
border-color: #3b82f6;
|
| 86 |
+
background: #eff6ff;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
.theme-option.selected {
|
| 90 |
+
border-color: #3b82f6;
|
| 91 |
+
background: #dbeafe;
|
| 92 |
+
font-weight: 600;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.theme-title {
|
| 96 |
+
color: #1e40af;
|
| 97 |
+
font-weight: 600;
|
| 98 |
+
font-size: 1.05em;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.buttons {
|
| 102 |
+
display: flex;
|
| 103 |
+
gap: 15px;
|
| 104 |
+
margin-top: 20px;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
button {
|
| 108 |
+
flex: 1;
|
| 109 |
+
padding: 15px;
|
| 110 |
+
border: none;
|
| 111 |
+
border-radius: 10px;
|
| 112 |
+
font-size: 1em;
|
| 113 |
+
font-weight: 600;
|
| 114 |
+
cursor: pointer;
|
| 115 |
+
transition: all 0.2s;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.choose-theme-btn {
|
| 119 |
+
background: #8b5cf6;
|
| 120 |
+
color: white;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.choose-theme-btn:hover:not(:disabled) {
|
| 124 |
+
background: #7c3aed;
|
| 125 |
+
transform: translateY(-2px);
|
| 126 |
+
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.next-speaker-btn {
|
| 130 |
+
background: #3b82f6;
|
| 131 |
+
color: white;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
.next-speaker-btn:hover:not(:disabled) {
|
| 135 |
+
background: #2563eb;
|
| 136 |
+
transform: translateY(-2px);
|
| 137 |
+
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.start-speaking-btn {
|
| 141 |
+
background: #10b981;
|
| 142 |
+
color: white;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.start-speaking-btn:hover:not(:disabled) {
|
| 146 |
+
background: #059669;
|
| 147 |
+
transform: translateY(-2px);
|
| 148 |
+
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
.reset-btn {
|
| 152 |
+
background: #ef4444;
|
| 153 |
+
color: white;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
.reset-btn:hover:not(:disabled) {
|
| 157 |
+
background: #dc2626;
|
| 158 |
+
transform: translateY(-2px);
|
| 159 |
+
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
button:disabled {
|
| 163 |
+
opacity: 0.5;
|
| 164 |
+
cursor: not-allowed;
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
.topic-display {
|
| 168 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 169 |
+
border-radius: 15px;
|
| 170 |
+
padding: 40px;
|
| 171 |
+
text-align: center;
|
| 172 |
+
color: white;
|
| 173 |
+
min-height: 200px;
|
| 174 |
+
display: flex;
|
| 175 |
+
flex-direction: column;
|
| 176 |
+
justify-content: center;
|
| 177 |
+
align-items: center;
|
| 178 |
+
margin-top: 25px;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.topic-theme {
|
| 182 |
+
font-size: 0.9em;
|
| 183 |
+
opacity: 0.9;
|
| 184 |
+
margin-bottom: 15px;
|
| 185 |
+
text-transform: uppercase;
|
| 186 |
+
letter-spacing: 1px;
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
.topic-text {
|
| 190 |
+
font-size: 1.5em;
|
| 191 |
+
line-height: 1.5;
|
| 192 |
+
font-weight: 500;
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
.hidden {
|
| 196 |
+
display: none;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.placeholder-text {
|
| 200 |
+
color: #94a3b8;
|
| 201 |
+
font-style: italic;
|
| 202 |
+
text-align: center;
|
| 203 |
+
margin-top: 20px;
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
.traffic-light-info {
|
| 207 |
+
text-align: center;
|
| 208 |
+
color: #64748b;
|
| 209 |
+
font-size: 0.9em;
|
| 210 |
+
margin-top: 15px;
|
| 211 |
+
padding: 10px;
|
| 212 |
+
background: #f1f5f9;
|
| 213 |
+
border-radius: 8px;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.traffic-light-info span {
|
| 217 |
+
font-weight: 600;
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
.green-light { color: #10b981; }
|
| 221 |
+
.yellow-light { color: #f59e0b; }
|
| 222 |
+
.red-light { color: #ef4444; }
|
| 223 |
+
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
</head>
|
| 225 |
<body>
|
| 226 |
+
<div class="container">
|
| 227 |
+
<h1>🎤 Table Topics</h1>
|
| 228 |
+
<p class="subtitle">Impromptu speaking practice • 1-2 minutes per speaker</p>
|
| 229 |
+
|
| 230 |
+
<div class="timer-display timer-green" id="timerDisplay">00:00</div>
|
| 231 |
+
|
| 232 |
+
<div class="traffic-light-info">
|
| 233 |
+
<span class="green-light">● Green</span> at 1:00 •
|
| 234 |
+
<span class="yellow-light">● Yellow</span> at 1:30 •
|
| 235 |
+
<span class="red-light">● Red</span> at 2:00
|
| 236 |
+
</div>
|
| 237 |
+
|
| 238 |
+
<div class="controls-box">
|
| 239 |
+
<div class="theme-selection" id="themeSelection">
|
| 240 |
+
<div class="theme-grid">
|
| 241 |
+
<div class="theme-option" data-theme="if-you-could">
|
| 242 |
+
<div class="theme-title">1. "If You Could..." (Fun/Imaginative)</div>
|
| 243 |
+
</div>
|
| 244 |
+
<div class="theme-option" data-theme="unpopular-opinions">
|
| 245 |
+
<div class="theme-title">2. "Unpopular Opinions" (Fun/Edgy)</div>
|
| 246 |
+
</div>
|
| 247 |
+
<div class="theme-option" data-theme="what-would-you-do">
|
| 248 |
+
<div class="theme-title">3. "What Would You Do?" (Serious/Thoughtful)</div>
|
| 249 |
+
</div>
|
| 250 |
+
<div class="theme-option" data-theme="throwback">
|
| 251 |
+
<div class="theme-title">4. "Throwback" (Nostalgic/Personal)</div>
|
| 252 |
+
</div>
|
| 253 |
+
<div class="theme-option" data-theme="youre-the-expert">
|
| 254 |
+
<div class="theme-title">5. "You're the Expert" (Fun/Creative)</div>
|
| 255 |
+
</div>
|
| 256 |
+
<div class="theme-option" data-theme="big-questions">
|
| 257 |
+
<div class="theme-title">6. "The Big Questions" (Serious/Philosophical)</div>
|
| 258 |
+
</div>
|
| 259 |
+
<div class="theme-option" data-theme="would-you-rather">
|
| 260 |
+
<div class="theme-title">7. "Would You Rather"</div>
|
| 261 |
+
</div>
|
| 262 |
+
</div>
|
| 263 |
+
</div>
|
| 264 |
+
|
| 265 |
+
<div class="buttons">
|
| 266 |
+
<button class="choose-theme-btn" id="chooseThemeBtn" disabled>Choose Theme</button>
|
| 267 |
+
<button class="next-speaker-btn hidden" id="nextSpeakerBtn">Next Speaker</button>
|
| 268 |
+
<button class="start-speaking-btn hidden" id="startSpeakingBtn">Start Speaking</button>
|
| 269 |
+
<button class="reset-btn" id="resetBtn">Reset</button>
|
| 270 |
+
</div>
|
| 271 |
+
|
| 272 |
+
<p class="placeholder-text" id="placeholderText">Select a theme above</p>
|
| 273 |
+
</div>
|
| 274 |
+
|
| 275 |
+
<div class="topic-display hidden" id="topicDisplay">
|
| 276 |
+
<div class="topic-theme" id="topicTheme"></div>
|
| 277 |
+
<div class="topic-text" id="topicText"></div>
|
| 278 |
+
</div>
|
| 279 |
+
</div>
|
| 280 |
+
|
| 281 |
+
<script>
|
| 282 |
+
const topics = {
|
| 283 |
+
"if-you-could": [
|
| 284 |
+
"If you could have dinner with any person, living or dead, who would it be?",
|
| 285 |
+
"If you could instantly master one skill, what would it be?",
|
| 286 |
+
"If you could live in any fictional world, where would you go?",
|
| 287 |
+
"If you could only eat one cuisine for the rest of your life, what would it be?",
|
| 288 |
+
"If you could switch lives with someone for a week, who would it be?",
|
| 289 |
+
"If you could eliminate one invention from history, what would it be?",
|
| 290 |
+
"If you could speak any language fluently overnight, which would you choose?",
|
| 291 |
+
"If you could bring back one extinct animal, what would it be?",
|
| 292 |
+
"If you could time travel but only once, where would you go?"
|
| 293 |
+
],
|
| 294 |
+
"unpopular-opinions": [
|
| 295 |
+
"Pineapple belongs on pizza — agree or disagree?",
|
| 296 |
+
"Mornings are better than evenings.",
|
| 297 |
+
"Working from home is actually worse than the office.",
|
| 298 |
+
"Social media has done more harm than good.",
|
| 299 |
+
"Vacations are overrated.",
|
| 300 |
+
"Pets are better companions than people.",
|
| 301 |
+
"Winning isn't everything — participation matters just as much.",
|
| 302 |
+
"Small talk is a waste of time.",
|
| 303 |
+
"Dessert should be eaten before dinner."
|
| 304 |
+
],
|
| 305 |
+
"what-would-you-do": [
|
| 306 |
+
"What would you do if you found out a close friend was being dishonest at work?",
|
| 307 |
+
"What would you do if you witnessed someone being treated unfairly in public?",
|
| 308 |
+
"What would you do if you were given $1 million but had to give half away?",
|
| 309 |
+
"What would you do if you discovered your dream job made you miserable?",
|
| 310 |
+
"What would you do if a family member asked you for advice you disagreed with?",
|
| 311 |
+
"What would you do if you could redesign the education system from scratch?",
|
| 312 |
+
"What would you do if you had one year left to live but were in perfect health?",
|
| 313 |
+
"What would you do if you were elected mayor of your city tomorrow?"
|
| 314 |
+
],
|
| 315 |
+
"throwback": [
|
| 316 |
+
"What was your favorite thing about being a kid?",
|
| 317 |
+
"What's a trend from your teenage years you're glad is gone?",
|
| 318 |
+
"What's one piece of advice you wish you could give your younger self?",
|
| 319 |
+
"What was your most memorable family vacation?",
|
| 320 |
+
"What's a childhood fear you've since gotten over — or haven't?",
|
| 321 |
+
"What's the best lesson a teacher ever taught you?",
|
| 322 |
+
"What game or toy from your childhood meant the most to you?",
|
| 323 |
+
"What's a moment from your past that changed the direction of your life?",
|
| 324 |
+
"What did you want to be when you grew up, and how close did you get?"
|
| 325 |
+
],
|
| 326 |
+
"youre-the-expert": [
|
| 327 |
+
"You are the world's foremost expert on napping — share your wisdom.",
|
| 328 |
+
"You've just written a book on how to have the perfect pizza night — what's in it?",
|
| 329 |
+
"You're a leading scientist who just discovered why Mondays feel so hard — explain your findings.",
|
| 330 |
+
"You're the world's top negotiator — how do you convince a toddler to eat vegetables?",
|
| 331 |
+
"You're an architect designing the perfect home office — walk us through it.",
|
| 332 |
+
"You've cracked the code on the perfect road trip — what's the secret?",
|
| 333 |
+
"You're a renowned chef whose specialty is breakfast — make the case for it being the greatest meal.",
|
| 334 |
+
"You're a psychologist who studies why people argue about the thermostat — what have you learned?"
|
| 335 |
+
],
|
| 336 |
+
"big-questions": [
|
| 337 |
+
"What does success actually mean to you?",
|
| 338 |
+
"Is it more important to be liked or to be respected?",
|
| 339 |
+
"What's one thing society gets completely wrong?",
|
| 340 |
+
"What does it mean to live a good life?",
|
| 341 |
+
"Is change something to embrace or something to be cautious about?",
|
| 342 |
+
"What's the most important quality in a leader?",
|
| 343 |
+
"Do people fundamentally change, or do they just adapt?",
|
| 344 |
+
"What responsibility do we have to future generations?",
|
| 345 |
+
"Is it possible to be truly selfless, or is everything we do ultimately for ourselves?"
|
| 346 |
+
],
|
| 347 |
+
"would-you-rather": [
|
| 348 |
+
"Would you rather never need sleep or never need to eat?",
|
| 349 |
+
"Would you rather live 200 years in the past or 200 years in the future?",
|
| 350 |
+
"Would you rather be the funniest person in the room or the smartest?",
|
| 351 |
+
"Would you rather lose all your memories or never be able to make new ones?",
|
| 352 |
+
"Would you rather always have to sing instead of speak or always have to dance instead of walk?",
|
| 353 |
+
"Would you rather know how you're going to die or know exactly when?",
|
| 354 |
+
"Would you rather be able to talk to animals or speak every human language fluently?",
|
| 355 |
+
"Would you rather live in the mountains or on the beach?",
|
| 356 |
+
"Would you rather be famous but broke or wealthy but unknown?",
|
| 357 |
+
"Would you rather have the ability to read minds or predict the future?",
|
| 358 |
+
"Would you rather give up your phone for a year or give up your car for a year?"
|
| 359 |
+
]
|
| 360 |
+
};
|
| 361 |
+
|
| 362 |
+
const themeNames = {
|
| 363 |
+
"if-you-could": '"If You Could..." (Fun/Imaginative)',
|
| 364 |
+
"unpopular-opinions": '"Unpopular Opinions" (Fun/Edgy)',
|
| 365 |
+
"what-would-you-do": '"What Would You Do?" (Serious/Thoughtful)',
|
| 366 |
+
"throwback": '"Throwback" (Nostalgic/Personal)',
|
| 367 |
+
"youre-the-expert": '"You're the Expert" (Fun/Creative)',
|
| 368 |
+
"big-questions": '"The Big Questions" (Serious/Philosophical)',
|
| 369 |
+
"would-you-rather": '"Would You Rather"'
|
| 370 |
+
};
|
| 371 |
+
|
| 372 |
+
let selectedTheme = null;
|
| 373 |
+
let usedTopics = [];
|
| 374 |
+
let currentTopic = null;
|
| 375 |
+
let timerInterval = null;
|
| 376 |
+
let elapsedSeconds = 0;
|
| 377 |
+
let isTimerRunning = false;
|
| 378 |
+
|
| 379 |
+
const themeOptions = document.querySelectorAll('.theme-option');
|
| 380 |
+
const chooseThemeBtn = document.getElementById('chooseThemeBtn');
|
| 381 |
+
const nextSpeakerBtn = document.getElementById('nextSpeakerBtn');
|
| 382 |
+
const startSpeakingBtn = document.getElementById('startSpeakingBtn');
|
| 383 |
+
const resetBtn = document.getElementById('resetBtn');
|
| 384 |
+
const timerDisplay = document.getElementById('timerDisplay');
|
| 385 |
+
const topicDisplay = document.getElementById('topicDisplay');
|
| 386 |
+
const topicTheme = document.getElementById('topicTheme');
|
| 387 |
+
const topicText = document.getElementById('topicText');
|
| 388 |
+
const placeholderText = document.getElementById('placeholderText');
|
| 389 |
+
const themeSelection = document.getElementById('themeSelection');
|
| 390 |
+
|
| 391 |
+
// Theme selection
|
| 392 |
+
themeOptions.forEach(option => {
|
| 393 |
+
option.addEventListener('click', () => {
|
| 394 |
+
themeOptions.forEach(opt => opt.classList.remove('selected'));
|
| 395 |
+
option.classList.add('selected');
|
| 396 |
+
selectedTheme = option.dataset.theme;
|
| 397 |
+
chooseThemeBtn.disabled = false;
|
| 398 |
+
});
|
| 399 |
+
});
|
| 400 |
+
|
| 401 |
+
// Choose theme button
|
| 402 |
+
chooseThemeBtn.addEventListener('click', () => {
|
| 403 |
+
if (!selectedTheme) return;
|
| 404 |
+
|
| 405 |
+
usedTopics = [];
|
| 406 |
+
themeSelection.classList.add('hidden');
|
| 407 |
+
chooseThemeBtn.classList.add('hidden');
|
| 408 |
+
nextSpeakerBtn.classList.remove('hidden');
|
| 409 |
+
placeholderText.textContent = 'Click "Next Speaker" to reveal the first topic';
|
| 410 |
+
});
|
| 411 |
+
|
| 412 |
+
// Next speaker button
|
| 413 |
+
nextSpeakerBtn.addEventListener('click', () => {
|
| 414 |
+
const availableTopics = topics[selectedTheme].filter((_, index) => !usedTopics.includes(index));
|
| 415 |
+
|
| 416 |
+
if (availableTopics.length === 0) {
|
| 417 |
+
alert('All topics have been used! Click Reset to start over.');
|
| 418 |
+
return;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
const randomIndex = Math.floor(Math.random() * availableTopics.length);
|
| 422 |
+
currentTopic = availableTopics[randomIndex];
|
| 423 |
+
const originalIndex = topics[selectedTheme].indexOf(currentTopic);
|
| 424 |
+
usedTopics.push(originalIndex);
|
| 425 |
+
|
| 426 |
+
topicTheme.textContent = themeNames[selectedTheme];
|
| 427 |
+
topicText.textContent = currentTopic;
|
| 428 |
+
|
| 429 |
+
placeholderText.classList.add('hidden');
|
| 430 |
+
topicDisplay.classList.remove('hidden');
|
| 431 |
+
nextSpeakerBtn.classList.add('hidden');
|
| 432 |
+
startSpeakingBtn.classList.remove('hidden');
|
| 433 |
+
|
| 434 |
+
// Reset timer display but don't start
|
| 435 |
+
elapsedSeconds = 0;
|
| 436 |
+
updateTimerDisplay();
|
| 437 |
+
});
|
| 438 |
+
|
| 439 |
+
// Start speaking button
|
| 440 |
+
startSpeakingBtn.addEventListener('click', () => {
|
| 441 |
+
if (isTimerRunning) return;
|
| 442 |
+
|
| 443 |
+
isTimerRunning = true;
|
| 444 |
+
elapsedSeconds = 0;
|
| 445 |
+
startSpeakingBtn.disabled = true;
|
| 446 |
+
|
| 447 |
+
timerInterval = setInterval(() => {
|
| 448 |
+
elapsedSeconds++;
|
| 449 |
+
updateTimerDisplay();
|
| 450 |
+
}, 1000);
|
| 451 |
+
});
|
| 452 |
+
|
| 453 |
+
// Reset button
|
| 454 |
+
resetBtn.addEventListener('click', () => {
|
| 455 |
+
clearInterval(timerInterval);
|
| 456 |
+
isTimerRunning = false;
|
| 457 |
+
elapsedSeconds = 0;
|
| 458 |
+
selectedTheme = null;
|
| 459 |
+
usedTopics = [];
|
| 460 |
+
currentTopic = null;
|
| 461 |
+
|
| 462 |
+
updateTimerDisplay();
|
| 463 |
+
|
| 464 |
+
themeOptions.forEach(opt => opt.classList.remove('selected'));
|
| 465 |
+
themeSelection.classList.remove('hidden');
|
| 466 |
+
chooseThemeBtn.classList.remove('hidden');
|
| 467 |
+
chooseThemeBtn.disabled = true;
|
| 468 |
+
nextSpeakerBtn.classList.add('hidden');
|
| 469 |
+
startSpeakingBtn.classList.add('hidden');
|
| 470 |
+
startSpeakingBtn.disabled = false;
|
| 471 |
+
topicDisplay.classList.add('hidden');
|
| 472 |
+
placeholderText.classList.remove('hidden');
|
| 473 |
+
placeholderText.textContent = 'Select a theme above';
|
| 474 |
+
});
|
| 475 |
+
|
| 476 |
+
function updateTimerDisplay() {
|
| 477 |
+
const minutes = Math.floor(elapsedSeconds / 60);
|
| 478 |
+
const seconds = elapsedSeconds % 60;
|
| 479 |
+
timerDisplay.textContent =
|
| 480 |
+
String(minutes).padStart(2, '0') + ':' +
|
| 481 |
+
String(seconds).padStart(2, '0');
|
| 482 |
+
|
| 483 |
+
// Traffic light colors
|
| 484 |
+
timerDisplay.className = 'timer-display';
|
| 485 |
+
if (elapsedSeconds < 60) {
|
| 486 |
+
timerDisplay.classList.add('timer-green');
|
| 487 |
+
} else if (elapsedSeconds < 90) {
|
| 488 |
+
timerDisplay.classList.add('timer-yellow');
|
| 489 |
+
} else {
|
| 490 |
+
timerDisplay.classList.add('timer-red');
|
| 491 |
+
}
|
| 492 |
+
|
| 493 |
+
// Auto-stop at 2 minutes
|
| 494 |
+
if (elapsedSeconds >= 120 && isTimerRunning) {
|
| 495 |
+
clearInterval(timerInterval);
|
| 496 |
+
isTimerRunning = false;
|
| 497 |
+
startSpeakingBtn.disabled = false;
|
| 498 |
+
nextSpeakerBtn.classList.remove('hidden');
|
| 499 |
+
}
|
| 500 |
+
}
|
| 501 |
+
|
| 502 |
+
updateTimerDisplay();
|
| 503 |
+
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 504 |
</body>
|
| 505 |
</html>
|