File Manager
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Énigme 6 – Chapelle rue de Maredret</title>
<style>
body {
background-color: #fdf2e9;
font-family: "Georgia", serif;
color: #4a2600;
padding: 2em;
max-width: 800px;
margin: auto;
}
h1 {
text-align: center;
font-size: 2em;
margin-bottom: 0.5em;
}
.container {
background-color: #fffaf3;
border: 2px solid #e6c792;
padding: 2em;
border-radius: 10px;
box-shadow: 3px 3px 8px rgba(0,0,0,0.1);
}
label {
display: block;
margin: 1em 0 0.5em;
}
input[type="text"] {
width: 100%;
padding: 0.5em;
font-size: 1em;
}
button {
margin-top: 1em;
background-color: #e3a857;
color: white;
border: none;
padding: 0.7em 1.2em;
font-size: 1em;
border-radius: 5px;
cursor: pointer;
}
#result {
margin-top: 1em;
font-weight: bold;
}
.success {
color: green;
}
.error {
color: red;
}
</style>
</head>
<body>
<h1>Énigme 6 – Chapelle rue de Maredret</h1>
<div class="container">
<p>Combien de types d’abeilles vivent dans une ruche ?</p>
<ul>
<li>A) 1</li>
<li>B) 2</li>
<li>C) 3</li>
</ul>
<label for="reponse">Votre réponse (ex : A, B ou C) :</label>
<input type="text" id="reponse" maxlength="1" />
<button onclick="verifier()">Valider</button>
<div id="result"></div>
</div>
<script>
function verifier() {
const bonneReponse = "C";
const reponse = document.getElementById("reponse").value.trim().toUpperCase();
const result = document.getElementById("result");
if (reponse === bonneReponse) {
result.innerHTML = "✅ Bravo ! Bonne réponse. Retiens ce chiffre : <strong>8</strong><br>On se retrouve au point T pour la suite de l'aventure.";
result.className = "success";
} else {
result.textContent = "❌ Mauvaise réponse. Réessaie.";
result.className = "error";
}
}
</script>
</body>
</html>
File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com