We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit 424bdc8Copy full SHA for 424bdc8
.gitignore
@@ -0,0 +1,5 @@
1
+# https://git-scm.com/docs/gitignore
2
+# https://help.github.com/articles/ignoring-files
3
+# Example .gitignore files: https://github.com/github/gitignore
4
+/bower_components/
5
+/node_modules/
assets/js/index.js
@@ -0,0 +1,10 @@
+const butty = document.getElementById("butty");
+let passcode = document.getElementById("passcode");
+
+butty.addEventListener("click", function(e){
+ if(passcode.getAttribute("type")=="password"){
6
+ passcode.setAttribute("type","text");
7
+ } else {
8
+ passcode.setAttribute("type","password");
9
+ }
10
+ });
0 commit comments