const inputs = document.querySelectorAll("input");
inputs.forEach((input) => {
input.addEventListener("focusin", (e) => {
e.target.previousElementSibling.classList.add("active");
});
input.addEventListener("focusout", (e) => {
e.target.previousElementSibling.classList.remove("active");
});
});