---
title: "Comment by Surya Teja Karra on \"Password matching check using JavaScript\" | Hashnode"
description: "Hello there, It would&#39;ve helped to understand the reasoning behind the approach rather than the code upfront. I recommend updating the password validation f"
url: "https://hashnode.com/posts/password-matching-check-using-javascript/62f0fc68e3a3793580e0603f/comment/62fb2047fffdab933bdee816"
---

[Discussion](https://hashnode.com/posts/password-matching-check-using-javascript/62f0fc68e3a3793580e0603f)

Comment [Password matching check using JavaScript](https://hashnode.com/posts/password-matching-check-using-javascript/62f0fc68e3a3793580e0603f)

[Surya Teja Karra](https://hashnode.com/@shanmukhateja)

[Aug 16, 2022](https://hashnode.com/posts/password-matching-check-using-javascript/62f0fc68e3a3793580e0603f/comment/62fb2047fffdab933bdee816)

Hello there,

It would've helped to understand the reasoning behind the approach rather than the code upfront.

I recommend updating the password validation function to include a min character count, special chars check, lowercase & uppercase checks as a general security practice.

[Rafi kadir](https://hashnode.com/@rafikadir)

[Aug 16, 2022](https://hashnode.com/posts/password-matching-check-using-javascript/62f0fc68e3a3793580e0603f/comment/62fb2047fffdab933bdee816#reply-62fb3a33be14cfbd5d7ca527)

Thanks for the suggestion ♥️. I will do it.
