---
title: "Comment by Amirah Nasihah on \"🛑 Why You Should Avoid the onclick Attribute in Your Code\" | Hashnode"
description: "Thanks. Understand a lot!"
url: "https://hashnode.com/posts/why-you-should-avoid-the-onclick-attribute-in-your-code/6395d8b8c53c1fb85a9d9fd4/comment/639602d390dd49222205f60b"
---

[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)

[Amirah Nasihah](https://hashnode.com/@amirahnasihah)

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

Thanks. Understand a lot!
