diff options
| author | Saksham Mittal <gotlouemail@gmail.com> | 2022-04-03 12:47:25 +0530 |
|---|---|---|
| committer | Saksham Mittal <gotlouemail@gmail.com> | 2022-04-03 12:47:25 +0530 |
| commit | 54348b4a6372ca3d95f618f08dba3e5e5497f3be (patch) | |
| tree | 54bf5831daf80d9ada4f999ca4716c9508d3dccf | |
| parent | f430471922966e1f8a9ab142dd4fc02e00474dd6 (diff) | |
| download | purple-54348b4a6372ca3d95f618f08dba3e5e5497f3be.tar.gz | |
Add indicator for word length
| -rw-r--r-- | script.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script.js b/script.js index 33da383..3b8b8b8 100644 --- a/script.js +++ b/script.js @@ -11,6 +11,7 @@ let exit = false; let tries = 0; input.setAttribute("maxlength", len); +hint.innerHTML = "Word is of length: " + len + "</br>"; function letterinstr(c) { |
