---
title: "Comment by Elena Kazakova on \"How to create client-side form modal and validate it using JavaScript\" | Hashnode"
description: "I copied the codes but the program doesn&#39;t work 🙄"
url: "https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e/comment/61d7e5888d56921d07b9019b"
---

[Discussion](https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e)

Comment [How to create client-side form modal and validate it using JavaScript](https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e)

[Elena Kazakova](https://hashnode.com/@N0vum)

[Jan 7, 2022](https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e/comment/61d7e5888d56921d07b9019b)

I copied the codes but the program doesn't work 🙄

[Azubuike Duru](https://hashnode.com/@azubuikeduru)

[Jan 7, 2022](https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e/comment/61d7e5888d56921d07b9019b#reply-61d803f18d56921d07b90597)

Okay Elena. Don’t panic! It works😊, check whether you connected the css and JavaScript correctly to your main html. You can also tell me what error message you are seeing. Or show me a screenshot of you screen?

[Azubuike Duru](https://hashnode.com/@azubuikeduru)

[Jan 7, 2022](https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e/comment/61d7e5888d56921d07b9019b#reply-61d81ca44b84101d2c3edecb)

Hey Elena. Don’t panic! It works. I would help you debug if you let me. So first, check if you connected your JS and CSS code correctly. Also send me a screenshot of any error message you’re getting and what’s displaying on your screen.

[Elena Kazakova](https://hashnode.com/@N0vum)

[Jan 7, 2022](https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e/comment/61d7e5888d56921d07b9019b#reply-61d82c498d56921d07b90a9e)

[Azubuike Duru](https://hashnode.com/@azubuikeduru) thanks, sent by mail! :))

[Azubuike Duru](https://hashnode.com/@azubuikeduru)

[Jan 8, 2022](https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e/comment/61d7e5888d56921d07b9019b#reply-61da175bcda0d0294b6970ee)

[Elena Kazakova](https://hashnode.com/@N0vum)

Just sent you an email of the debugged code. Check it out.

Or just click on the link [codepen.io/zubi\_duru/pen/RwLYowe](https://codepen.io/zubi_duru/pen/RwLYowe)

[Elena Kazakova](https://hashnode.com/@N0vum)

[Jan 10, 2022](https://hashnode.com/posts/how-to-create-client-side-form-modal-and-validate-it-using-javascript/61d6b4c59cea31197e02b07e/comment/61d7e5888d56921d07b9019b#reply-61db981f3ce4b2377adfe2ca)

[Azubuike Duru](https://hashnode.com/@azubuikeduru) Thanks! I've already forked it! 🍳 🙃
