oTree Forum >

How to Use JSfiddle in the Otree

#1 by Arsil

Hi Everyone,

I am trying to add a calculator on the experiment page. Suppose, I have the code of the calculator written in JavaScript and HTML (front-end). Link for the code: https://jsfiddle.net/karthikjsf/0L8s0ngg/4/ . How can I incorporate it in my oTree code for the experiment. Any example would be really helpful. I understand how to incorporate HTML in the HTML page but not sure about the usage of JavaScript code in oTree.


Write a reply

Set forum username