From 3b74a10312469980f15825fc722509b441d99746 Mon Sep 17 00:00:00 2001 From: Nitish Kumar Khobragade <138294846+nitishkhobragade@users.noreply.github.com> Date: Wed, 21 Feb 2024 00:56:34 +0530 Subject: [PATCH] Update index.html in Random password generator Make password input read-only --- 09_random_password_gen/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/09_random_password_gen/index.html b/09_random_password_gen/index.html index 4d43411..34f51a9 100644 --- a/09_random_password_gen/index.html +++ b/09_random_password_gen/index.html @@ -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> @@ -26,4 +26,4 @@ <h1>Generate a <br> <span>Random Password</span></h1> </div> <script src="./app.js"></script> </body> -</html> \ No newline at end of file +</html>