Good Morning, my developer (volunteer) created a Military Terminal Leave Calculator for my nonprofit site to help service members. (I have very limited coding knowledge)
His program runs perfectly when run on Heroku (which my temporary fix is to use it as a website embed), but we want to make it completely stand alone on the wix site.
His written code is currently broken up into multiple files found on this github page:
My thought process is that I can recreate (copy/paste) most of these files as backend .js and .css files to reference.
How do I reference back to these backend files?
Is there an ‘href="https://…’ address that I can use or do I have to use an import function?
Attached is the html code he made that references directly back to his github files.
Any help is much appreciated!
Hi … Wix does not support CSS.
When you create or code something you build the interface using Wix elements by dragging and dropping them on the page.
Using backend code is doable but a bit complex for novice coder.
Since it seels like you may already have the ‘formula’ to make your calculations, you want to consider creating the calculation code right on the page itself (instead of the backend).
Here is a tutorial that shows how to create simple math calculations by building a small form on a Wix page: https://support.totallycodable.com/en/article/create-simple-math-calculations-or-instant-online-quote-using-wix-code
Good Morning - thank you for your response!
So our first question for the user is to ask their status which determines the variables and equation to use on the back. I would need a button for “Retire”, “Separate”, and “Honorably Involuntarily Separate”.
How can I create a different follow on input page based on their first input button selection?
Also, is there an easy way to include a status bar?
The best example is using the following link: (Chrome works best)
https:// …military-leave-calculator. herokuapp…com/
Thanks again for any help!