---
title: "Comment by Raja Junaid Farooq on \"🛑 Why You Should Avoid the onclick Attribute in Your Code\" | Hashnode"
description: "Thank you so much Usman for sharing great ideas. It&#39;s very helpful for me and I tried it and Boom. Keep Growing and Keep Sharing."
url: "https://hashnode.com/posts/why-you-should-avoid-the-onclick-attribute-in-your-code/6395d8b8c53c1fb85a9d9fd4/comment/6395f99b15750808b269d396"
---

[Discussion](https://hashnode.com/posts/why-you-should-avoid-the-onclick-attribute-in-your-code/6395d8b8c53c1fb85a9d9fd4)

Comment [🛑 Why You Should Avoid the onclick Attribute in Your Code](https://hashnode.com/posts/why-you-should-avoid-the-onclick-attribute-in-your-code/6395d8b8c53c1fb85a9d9fd4)

[Raja Junaid Farooq](https://hashnode.com/@Junaidprogrammer)

[Dec 11, 2022](https://hashnode.com/posts/why-you-should-avoid-the-onclick-attribute-in-your-code/6395d8b8c53c1fb85a9d9fd4/comment/6395f99b15750808b269d396)

Thank you so much Usman for sharing great ideas. It's very helpful for me and I tried it and Boom. Keep Growing and Keep Sharing.
