diff --git a/index.html b/index.html
index 673b59b..acd8099 100644
--- a/index.html
+++ b/index.html
@@ -94,12 +94,7 @@
-
+
-
@@ -260,10 +255,16 @@
function regen() {
if (sigleInput.value.length) {
listNoms = Array.from(sigleInput.value).map((lettre, position) => trouveMot(lettre, position))
- nomDiv.innerText = listNoms.join(" ")
- alertDiv.style.display = ""
+ alertDiv.innerHTML = `
+
+
Suggestion :
+
${listNoms.join(" ")}
+
+
`
} else {
- alertDiv.style.display = "none"
+ alertDiv.innerHTML = ""
}
copyButton.innerText = "Copier"
copyButton.classList.remove('fr-icon-checkbox-circle-line')