diff --git a/public/js/login.js b/public/js/login.js new file mode 100644 index 0000000..4055726 --- /dev/null +++ b/public/js/login.js @@ -0,0 +1,8 @@ +function revealhidePassword() { + const x = document.getElementById("exampleDropdownFormPassword1"); + if (x.type === "password") { + x.type = "text"; + } else { + x.type = "password"; + } +} \ No newline at end of file