Vibration API lab

Easy
53
2
71.7% Acceptance

In this lab, you will be using the Vibration API to create a simple vibration pattern for buttons. You will create 2 buttons with the following features: Button 1 should vibrate for 1 second when clicked, and Button 2 will vibrate with a pattern of short and long vibrations. Make sure your device supports Vibration API.