+ 1
How do you make buttons vibrate the device?
I've tried looking at other people's codes and done the same thing! What am I doing wrong? Do I have to use JavaScript? (I've made a code as an example to show how I'm doing it.) https://code.sololearn.com/WEcwjWV5fzbS/?ref=app
4 ответов
+ 3
you als need to create the proper function in the javascript pane - here is short demo
https://code.sololearn.com/WtxWDEV3gZnA/?ref=app
0
what decive are you using? Safari (and any other browser in iOS) does not support vibrating
0
No, my device vibrates fine. It just comes up with the an error message if I try to press the button that I made. Other codes seem to be able to make devices vibrate but not my own coding!
0
Thank you! Now I know how to do it! 😁