Input Field and Button not working in android mobile

I made a github page of my p5.js sketches. Some of my programs required text input from the user. So I used createInput() and createButton() function like in this one https://road-coders.github.io/Factorial/index.html.

It worked just fine in my pc. But when I tried to access it from my android devices I just could not enter any text or press the button at all.

Would you please help me find out what went wrong? Thanks in advance!