If we have the following structure in our application:
- 📁 application_folder_name
- 📄 index.php
- 📄 handle_form.php
- 📄 main.js
And we fill our index.php
with the following content just to get a basic website with a form working. You should be able to run this through a php-server of your choice.