Problem... Need help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Problem... Need help

I have a code in which done everything but the code is not working properly... https://code.sololearn.com/WlZnq0uazq2h/?ref=app

8th Oct 2020, 2:24 PM
Sajag Kamthan
Sajag Kamthan - avatar
4 Answers
+ 1
<button onpointerdown="accelerate(-0.08)" onpointerup="accelerate(0.05)">ACCELERATE</button> With these figures it works good for me ,or you can describe in detail what is actually not working properly
8th Oct 2020, 2:43 PM
Abhay
Abhay - avatar
+ 2
Thanks for the suggestion I will try it
8th Oct 2020, 2:56 PM
Sajag Kamthan
Sajag Kamthan - avatar
+ 1
Abhay The button is not working...after clicking on the button copy paste options are shown
8th Oct 2020, 2:48 PM
Sajag Kamthan
Sajag Kamthan - avatar
+ 1
Sajag Kamthan add touch-action:none attribute for button and p in css ,it will prevent any copy paste Buttons from appearing ,but I am not sure if this will work on laptop tho you can give it a try ,or Google about it
8th Oct 2020, 2:55 PM
Abhay
Abhay - avatar