Skip to content

Commit

Permalink
Update index.html in Random password generator
Browse files Browse the repository at this point in the history
Make password input read-only
  • Loading branch information
nitishkhobragade authored Feb 20, 2024
1 parent fdd8afd commit 3b74a10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 09_random_password_gen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="container">
<h1>Generate a <br> <span>Random Password</span></h1>
<div class="display">
<input type="text" id="password" placeholder="Password" />
<input type="text" id="password" placeholder="Password" readonly/>
<img src="./images/copy.png" onclick="copyPassword()" alt="copy icon" />
</div>
<div id="copyMessage" class="copy-message">Password copied</div>
Expand All @@ -26,4 +26,4 @@ <h1>Generate a <br> <span>Random Password</span></h1>
</div>
<script src="./app.js"></script>
</body>
</html>
</html>

0 comments on commit 3b74a10

Please sign in to comment.