• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

How to prevent "Blocked call to navigator.vibrate..."?

https://code.sololearn.com/WPe41K6Df1rr/?ref=app

javascriptjsvibrationnavigator.vibrate
30th May 2020, 4:04 PM
IlyaVerem
IlyaVerem - avatar
2 Answers
+ 3
Instead of alert, make a button to start the test. https://code.sololearn.com/WeMK4DmHuj93/?ref=app
30th May 2020, 4:17 PM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
Great! Thank you!
31st May 2020, 5:21 AM
IlyaVerem
IlyaVerem - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Should i learn python more or HTML?
2 Votes
how much time will it take to learn python OOP if i spend 1 hour everyday
0 Votes
C++ Vectors
0 Votes
Active learner
0 Votes
Code challenge
0 Votes
A Little Question Here!
1 Votes
Does solving a code coach actually give XPs?
2 Votes
Is it good for student to study C++ first?
0 Votes
(Resolved) Error: Gcc undefined reference to sha 256 🙄🤦🏽‍♀️
1 Votes