Spaces:
Running
Running
File size: 34,923 Bytes
45ea51a | 1 2 3 4 5 6 7 8 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 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 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 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 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 432 433 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 479 480 481 482 483 484 485 486 487 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 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 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 | <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MathMaster 3e - Exercices de Mathématiques</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.math-equation {
font-family: 'Times New Roman', Times, serif;
font-size: 1.2rem;
line-height: 1.6;
}
.exercise-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.progress-ring__circle {
transition: stroke-dashoffset 0.35s;
transform: rotate(-90deg);
transform-origin: 50% 50%;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.pulse-animation {
animation: pulse 2s infinite;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Header -->
<header class="bg-blue-600 text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<i class="fas fa-square-root-alt text-3xl mr-3"></i>
<h1 class="text-2xl md:text-3xl font-bold">MathMaster 3e</h1>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Rechercher un exercice..." class="px-4 py-2 rounded-full text-gray-800 w-full md:w-64 focus:outline-none focus:ring-2 focus:ring-blue-300">
<button class="absolute right-3 top-2 text-gray-500">
<i class="fas fa-search"></i>
</button>
</div>
<button id="theme-toggle" class="p-2 rounded-full bg-blue-500 hover:bg-blue-400 transition">
<i class="fas fa-moon"></i>
</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Hero Section -->
<section class="bg-gradient-to-r from-blue-500 to-purple-600 rounded-xl p-8 text-white mb-10 shadow-lg">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-2/3 mb-6 md:mb-0">
<h2 class="text-3xl md:text-4xl font-bold mb-4">Maîtrisez les mathématiques en 3ème</h2>
<p class="text-lg mb-6">Découvrez des exercices interactifs pour progresser en algèbre, géométrie et calcul. Adapté au programme scolaire français.</p>
<div class="flex flex-wrap gap-3">
<button class="bg-white text-blue-600 px-6 py-2 rounded-full font-semibold hover:bg-gray-100 transition flex items-center">
<i class="fas fa-play mr-2"></i> Démarrer
</button>
<button class="border-2 border-white px-6 py-2 rounded-full font-semibold hover:bg-white hover:text-blue-600 transition flex items-center">
<i class="fas fa-info-circle mr-2"></i> En savoir plus
</button>
</div>
</div>
<div class="md:w-1/3 flex justify-center">
<div class="relative">
<div class="w-48 h-48 bg-white bg-opacity-20 rounded-full flex items-center justify-center">
<i class="fas fa-calculator text-6xl"></i>
</div>
<div class="absolute -bottom-4 -right-4 bg-yellow-400 text-gray-800 px-4 py-2 rounded-full font-bold shadow-lg pulse-animation">
Nouveau !
</div>
</div>
</div>
</div>
</section>
<!-- Progress Section -->
<section class="mb-10 bg-white rounded-xl p-6 shadow-md">
<h2 class="text-2xl font-bold mb-6 text-gray-800 flex items-center">
<i class="fas fa-chart-line mr-3 text-blue-500"></i> Votre progression
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-gray-50 p-4 rounded-lg flex items-center">
<div class="relative w-16 h-16 mr-4">
<svg class="w-full h-full" viewBox="0 0 36 36">
<path
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
stroke="#e6e6e6"
stroke-width="3"
/>
<path
class="progress-ring__circle"
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
stroke="#4CAF50"
stroke-width="3"
stroke-dasharray="100, 100"
id="exercises-progress"
/>
</svg>
<div class="absolute inset-0 flex items-center justify-center">
<span class="text-sm font-bold">75%</span>
</div>
</div>
<div>
<h3 class="font-semibold text-gray-700">Exercices complétés</h3>
<p class="text-sm text-gray-500">45/60 exercices</p>
</div>
</div>
<div class="bg-gray-50 p-4 rounded-lg flex items-center">
<div class="relative w-16 h-16 mr-4">
<svg class="w-full h-full" viewBox="0 0 36 36">
<path
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
stroke="#e6e6e6"
stroke-width="3"
/>
<path
class="progress-ring__circle"
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
stroke="#FF9800"
stroke-width="3"
stroke-dasharray="60, 100"
id="accuracy-progress"
/>
</svg>
<div class="absolute inset-0 flex items-center justify-center">
<span class="text-sm font-bold">60%</span>
</div>
</div>
<div>
<h3 class="font-semibold text-gray-700">Précision</h3>
<p class="text-sm text-gray-500">Moyenne des réponses</p>
</div>
</div>
<div class="bg-gray-50 p-4 rounded-lg flex items-center">
<div class="relative w-16 h-16 mr-4">
<svg class="w-full h-full" viewBox="0 0 36 36">
<path
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
stroke="#e6e6e6"
stroke-width="3"
/>
<path
class="progress-ring__circle"
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
stroke="#2196F3"
stroke-width="3"
stroke-dasharray="90, 100"
id="streak-progress"
/>
</svg>
<div class="absolute inset-0 flex items-center justify-center">
<span class="text-sm font-bold">90%</span>
</div>
</div>
<div>
<h3 class="font-semibold text-gray-700">Série actuelle</h3>
<p class="text-sm text-gray-500">9 jours consécutifs</p>
</div>
</div>
</div>
</section>
<!-- Categories Section -->
<section class="mb-10">
<h2 class="text-2xl font-bold mb-6 text-gray-800 flex items-center">
<i class="fas fa-layer-group mr-3 text-blue-500"></i> Catégories d'exercices
</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="category-card bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition cursor-pointer border-l-4 border-blue-500">
<div class="flex items-center mb-3">
<div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-superscript text-blue-500"></i>
</div>
<h3 class="font-bold text-gray-800">Algèbre</h3>
</div>
<p class="text-gray-600 text-sm mb-3">Équations, inéquations, fonctions et expressions algébriques.</p>
<div class="flex justify-between items-center">
<span class="text-xs bg-blue-100 text-blue-600 px-2 py-1 rounded-full">12 exercices</span>
<button class="text-blue-500 hover:text-blue-700">
<i class="fas fa-arrow-right"></i>
</button>
</div>
</div>
<div class="category-card bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition cursor-pointer border-l-4 border-green-500">
<div class="flex items-center mb-3">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-shapes text-green-500"></i>
</div>
<h3 class="font-bold text-gray-800">Géométrie</h3>
</div>
<p class="text-gray-600 text-sm mb-3">Théorèmes, configurations, calculs d'aires et volumes.</p>
<div class="flex justify-between items-center">
<span class="text-xs bg-green-100 text-green-600 px-2 py-1 rounded-full">15 exercices</span>
<button class="text-green-500 hover:text-green-700">
<i class="fas fa-arrow-right"></i>
</button>
</div>
</div>
<div class="category-card bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition cursor-pointer border-l-4 border-purple-500">
<div class="flex items-center mb-3">
<div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-chart-pie text-purple-500"></i>
</div>
<h3 class="font-bold text-gray-800">Statistiques</h3>
</div>
<p class="text-gray-600 text-sm mb-3">Moyennes, médianes, probabilités et représentations graphiques.</p>
<div class="flex justify-between items-center">
<span class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded-full">8 exercices</span>
<button class="text-purple-500 hover:text-purple-700">
<i class="fas fa-arrow-right"></i>
</button>
</div>
</div>
<div class="category-card bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition cursor-pointer border-l-4 border-yellow-500">
<div class="flex items-center mb-3">
<div class="w-10 h-10 bg-yellow-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-calculator text-yellow-500"></i>
</div>
<h3 class="font-bold text-gray-800">Calcul numérique</h3>
</div>
<p class="text-gray-600 text-sm mb-3">Fractions, puissances, racines carrées et calcul littéral.</p>
<div class="flex justify-between items-center">
<span class="text-xs bg-yellow-100 text-yellow-600 px-2 py-1 rounded-full">10 exercices</span>
<button class="text-yellow-500 hover:text-yellow-700">
<i class="fas fa-arrow-right"></i>
</button>
</div>
</div>
</div>
</section>
<!-- Featured Exercises -->
<section class="mb-10">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800 flex items-center">
<i class="fas fa-star mr-3 text-yellow-500"></i> Exercices recommandés
</h2>
<div class="flex space-x-2">
<button class="px-3 py-1 bg-gray-200 rounded-full text-sm hover:bg-gray-300 transition">
<i class="fas fa-random mr-1"></i> Aléatoire
</button>
<button class="px-3 py-1 bg-blue-100 text-blue-600 rounded-full text-sm hover:bg-blue-200 transition">
<i class="fas fa-redo mr-1"></i> Rafraîchir
</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Exercise Card 1 -->
<div class="exercise-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-lg">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded-full">Algèbre</span>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="ml-1 text-gray-600 text-sm">4.8</span>
</div>
</div>
<h3 class="font-bold text-lg mb-3 text-gray-800">Résolution d'équations</h3>
<div class="math-equation mb-4 bg-gray-50 p-3 rounded-lg">
Résoudre l'équation: 2x + 5 = 3x - 2
</div>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">Difficulté: Moyenne</span>
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full text-sm transition flex items-center">
Essayer <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</div>
<!-- Exercise Card 2 -->
<div class="exercise-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-lg">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded-full">Géométrie</span>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="ml-1 text-gray-600 text-sm">4.5</span>
</div>
</div>
<h3 class="font-bold text-lg mb-3 text-gray-800">Théorème de Pythagore</h3>
<div class="math-equation mb-4 bg-gray-50 p-3 rounded-lg">
ABC est un triangle rectangle en A. AB = 6 cm, AC = 8 cm. Calculer BC.
</div>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">Difficulté: Facile</span>
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full text-sm transition flex items-center">
Essayer <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</div>
<!-- Exercise Card 3 -->
<div class="exercise-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 hover:shadow-lg">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<span class="bg-purple-100 text-purple-600 text-xs px-2 py-1 rounded-full">Statistiques</span>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="ml-1 text-gray-600 text-sm">4.2</span>
</div>
</div>
<h3 class="font-bold text-lg mb-3 text-gray-800">Calcul de moyenne</h3>
<div class="math-equation mb-4 bg-gray-50 p-3 rounded-lg">
Calculer la moyenne des notes: 12, 15, 8, 14, 11
</div>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">Difficulté: Très facile</span>
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full text-sm transition flex items-center">
Essayer <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Interactive Exercise Demo -->
<section class="mb-10 bg-white rounded-xl shadow-md p-6">
<h2 class="text-2xl font-bold mb-6 text-gray-800 flex items-center">
<i class="fas fa-play-circle mr-3 text-blue-500"></i> Essayez un exercice interactif
</h2>
<div class="bg-gray-50 rounded-lg p-6 mb-6">
<div class="math-equation mb-6 text-center text-lg font-semibold">
Résolvez l'équation: 3(x + 2) = 2x + 11
</div>
<div class="mb-6">
<label for="answer" class="block text-sm font-medium text-gray-700 mb-2">Votre réponse:</label>
<input type="text" id="answer" placeholder="Entrez la valeur de x" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="flex justify-between items-center">
<button id="hint-btn" class="text-blue-500 hover:text-blue-700 flex items-center">
<i class="fas fa-lightbulb mr-2"></i> Indice
</button>
<button id="check-answer" class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg transition flex items-center">
<i class="fas fa-check mr-2"></i> Vérifier
</button>
</div>
<div id="feedback" class="mt-4 hidden">
<div id="correct-feedback" class="bg-green-100 border-l-4 border-green-500 text-green-700 p-4 hidden">
<div class="flex items-center">
<i class="fas fa-check-circle mr-2 text-green-500"></i>
<p class="font-medium">Correct ! x = 5 est bien la solution.</p>
</div>
</div>
<div id="wrong-feedback" class="bg-red-100 border-l-4 border-red-500 text-red-700 p-4 hidden">
<div class="flex items-center">
<i class="fas fa-times-circle mr-2 text-red-500"></i>
<p class="font-medium">Incorrect. Essayez encore !</p>
</div>
</div>
<div id="hint-content" class="bg-blue-50 border-l-4 border-blue-500 text-blue-700 p-4 mt-2 hidden">
<div class="flex items-start">
<i class="fas fa-info-circle mr-2 mt-1 text-blue-500"></i>
<div>
<p class="font-medium mb-1">Indice:</p>
<p>Commencez par développer le membre de gauche: 3(x + 2) = 3x + 6</p>
<p>Puis regroupez les termes en x d'un côté et les constantes de l'autre.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="mb-10">
<h2 class="text-2xl font-bold mb-6 text-gray-800 flex items-center">
<i class="fas fa-quote-left mr-3 text-blue-500"></i> Témoignages
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-user text-blue-500"></i>
</div>
<div>
<h4 class="font-semibold">Élève de 3ème</h4>
<div class="flex text-yellow-400 text-sm">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic">"Grâce à MathMaster, j'ai enfin compris comment résoudre les équations. Les explications sont claires et les exercices progressifs."</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-user-tie text-green-500"></i>
</div>
<div>
<h4 class="font-semibold">Professeur</h4>
<div class="flex text-yellow-400 text-sm">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic">"J'utilise MathMaster pour compléter mes cours. Les élèves apprécient particulièrement les exercices interactifs et les feedbacks immédiats."</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-user-graduate text-purple-500"></i>
</div>
<div>
<h4 class="font-semibold">Parent</h4>
<div class="flex text-yellow-400 text-sm">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic">"Mon enfant a progressé rapidement en mathématiques depuis qu'il utilise ce site. L'interface est intuitive et motivante."</p>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-10">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4 flex items-center">
<i class="fas fa-square-root-alt mr-2"></i> MathMaster 3e
</h3>
<p class="text-gray-400">Plateforme d'apprentissage des mathématiques pour les élèves de troisième, conforme au programme de l'Éducation Nationale.</p>
</div>
<div>
<h4 class="font-semibold mb-4">Ressources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Exercices</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Cours</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Méthodes</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Annales</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Aide</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">FAQ</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Guide d'utilisation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Accessibilité</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Newsletter</h4>
<p class="text-gray-400 mb-3">Abonnez-vous pour recevoir des exercices hebdomadaires.</p>
<div class="flex">
<input type="email" placeholder="Votre email" class="px-4 py-2 rounded-l-lg text-gray-800 w-full focus:outline-none">
<button class="bg-blue-500 hover:bg-blue-600 px-4 py-2 rounded-r-lg transition">
<i class="fas fa-paper-plane"></i>
</button>
</div>
<div class="flex space-x-4 mt-4">
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-youtube"></i></a>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm mb-4 md:mb-0">© 2023 MathMaster 3e. Tous droits réservés.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition text-sm">Mentions légales</a>
<a href="#" class="text-gray-400 hover:text-white transition text-sm">Confidentialité</a>
<a href="#" class="text-gray-400 hover:text-white transition text-sm">Conditions d'utilisation</a>
</div>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button id="back-to-top" class="fixed bottom-6 right-6 bg-blue-500 text-white p-3 rounded-full shadow-lg opacity-0 invisible transition-all duration-300 hover:bg-blue-600">
<i class="fas fa-arrow-up"></i>
</button>
<script>
// Dark mode toggle
const themeToggle = document.getElementById('theme-toggle');
const html = document.documentElement;
themeToggle.addEventListener('click', () => {
html.classList.toggle('dark');
if (html.classList.contains('dark')) {
themeToggle.innerHTML = '<i class="fas fa-sun"></i>';
localStorage.setItem('theme', 'dark');
} else {
themeToggle.innerHTML = '<i class="fas fa-moon"></i>';
localStorage.setItem('theme', 'light');
}
});
// Check for saved theme preference
if (localStorage.getItem('theme') === 'dark') {
html.classList.add('dark');
themeToggle.innerHTML = '<i class="fas fa-sun"></i>';
}
// Interactive exercise functionality
const checkAnswerBtn = document.getElementById('check-answer');
const hintBtn = document.getElementById('hint-btn');
const answerInput = document.getElementById('answer');
const feedback = document.getElementById('feedback');
const correctFeedback = document.getElementById('correct-feedback');
const wrongFeedback = document.getElementById('wrong-feedback');
const hintContent = document.getElementById('hint-content');
checkAnswerBtn.addEventListener('click', () => {
const userAnswer = answerInput.value.trim();
if (userAnswer === '5') {
correctFeedback.classList.remove('hidden');
wrongFeedback.classList.add('hidden');
} else {
correctFeedback.classList.add('hidden');
wrongFeedback.classList.remove('hidden');
}
feedback.classList.remove('hidden');
});
hintBtn.addEventListener('click', () => {
hintContent.classList.toggle('hidden');
});
// Back to top button
const backToTopBtn = document.getElementById('back-to-top');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) {
backToTopBtn.classList.remove('opacity-0', 'invisible');
backToTopBtn.classList.add('opacity-100', 'visible');
} else {
backToTopBtn.classList.remove('opacity-100', 'visible');
backToTopBtn.classList.add('opacity-0', 'invisible');
}
});
backToTopBtn.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Animate progress rings
document.addEventListener('DOMContentLoaded', () => {
const exercisesProgress = document.getElementById('exercises-progress');
const accuracyProgress = document.getElementById('accuracy-progress');
const streakProgress = document.getElementById('streak-progress');
setTimeout(() => {
exercisesProgress.style.strokeDashoffset = '25'; // 75% complete
accuracyProgress.style.strokeDashoffset = '40'; // 60% complete
streakProgress.style.strokeDashoffset = '10'; // 90% complete
}, 500);
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=jcitf/mastermath3ieme" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |