HTML form and JS functionality on WordPress

Hi everyone! I am imported an HTML form that I have written in my IDE to WordPress and see the form populating on the page. I used the Simple Custom CSS and JS plug-in to add my JavaScript file that I have used to process the answers from the HTML form and perform functions on them before submitting a response back to the user. I added this Custom JS in the appearance section by accessing the plug-in and creating a new custom JS file and simply copy and pasting from my JavaScript IDE file.

When I launch the preview of the HTML running the JS file script from my computer and not on WordPress it works fine, but when I try to use the same form through WordPress it does not work. Am I missing something that I need to do in order to hook up the JavaScript to the HTML and WordPress?

Very new to WordPress so any help is appreciated. Thanks so much! 🙂


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer