I built a simple NHS annual leave calculator using HTML and JavaScript. When I test it locally by saving the file with the .htm extension in Notepad, everything works as expected. The calculator loads, and the result appears correctly. But once I insert the same code into my WordPress site, it stops functioning. The input box and button show up, but when I click the button, nothing happens and no calculation is displayed.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)