comment changer la couleur innerhtml
document.getElementById("usernameError").innerHTML = "<span style='color: red;'>
this.style.color = "white";
Upset Unicorn
document.getElementById("usernameError").innerHTML = "<span style='color: red;'>
this.style.color = "white";