Hello.
I want to make a simple table that would change the values of cells according to what the user writes in the input field (and clicks the "Calculate" button). So I wrote the code in Notepad and tested it in Chrome. It works great. Then I wrote to Fandom support to enable JavaScript on our wiki. They have enabled it and suggested to check this wiki out, so I did. I had no idea (I still don't) how to make this little program work on our wiki. I decided to start with simple examples (building blocks) and work from there. I have copy-pasted the "Input box" code from the "Cookbook" into our Common.js page and changed the 'Example_Page' with, the page I wanted, 'Levelling'. I have refreshed the page to bypass the cache (ctrl + shift + R) multiple times and the input box was nowhere to be seen on the page. I entered Test mode and also exited it to no avail. In the end I have decided to exit Test mode and submit the code for review. The code got approved today, but I still can't see the input box. Do I have to do something on the Levelling page? What if I don't want that the input box is at the bottom of the page? Is there a tutorial for this?
The code I want to implement: https://github.com/TheCrossblade/Simple_update_table_wiki/blob/main/the%20code
The page I want to implement it on: https://nonograms-katana.fandom.com/wiki/Levelling
Any help would be greatly appreciated.
PS: Also the page was moved from "Leveling", if that would be an issue.