• Hello,

    I created a simple calculator and it works well. When I insert the code into Elementor widget of HTML, the button doesn’t work at all.
    I place the HTML and JS inside the HTML widget also by using <script> tag, and the CSS in the custom CSS area.

    This is the entire project in Codepen: https://codepen.io/SoPH89/pen/yLRGjqB
    You can see that the button is doing the calculation but on Elementor it just keeps on returning 1, and that’s also what I get in the console.log.

    Is there a possibiltiy that Elementor code is somehow blocking the JS code?
    Thank you very much.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom JS code doesn’t work’ is closed to new replies.