How do you make sounds on JavaScript With buttons? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you make sounds on JavaScript With buttons?

I'm making a game Infinite Button. (Unfinished) https://code.sololearn.com/WiZ542I8uHG4/?ref=app

23rd Jul 2018, 6:38 PM
MagicmakerYT
16 Answers
23rd Jul 2018, 6:53 PM
Eli Ben Shimon
Eli Ben Shimon - avatar
+ 15
https://code.sololearn.com/WXvCuSU7Y9oT/?ref=app
23rd Jul 2018, 7:02 PM
bobbie
bobbie - avatar
+ 3
Be a little bit more specific please, do you want it to play an audio?
23rd Jul 2018, 6:45 PM
Eli Ben Shimon
Eli Ben Shimon - avatar
+ 3
I didn't understand... The first one or the second
23rd Jul 2018, 6:49 PM
Eli Ben Shimon
Eli Ben Shimon - avatar
+ 3
Hmmm.. Are you using a computer?
23rd Jul 2018, 6:57 PM
Eli Ben Shimon
Eli Ben Shimon - avatar
+ 2
Or do you want it to make a sound when pressing the button
23rd Jul 2018, 6:45 PM
Eli Ben Shimon
Eli Ben Shimon - avatar
+ 2
😊
23rd Jul 2018, 6:53 PM
Eli Ben Shimon
Eli Ben Shimon - avatar
+ 2
My 'device' doesn't vibrate vibrate shakes the device.
23rd Jul 2018, 6:56 PM
MagicmakerYT
+ 2
I will find an alternative way to make a sound
23rd Jul 2018, 6:57 PM
Eli Ben Shimon
Eli Ben Shimon - avatar
+ 1
/\
23rd Jul 2018, 6:45 PM
MagicmakerYT
+ 1
Yes when you press it sound plays...
23rd Jul 2018, 6:49 PM
MagicmakerYT
+ 1
Tablet
23rd Jul 2018, 6:59 PM
MagicmakerYT
+ 1
Ok!
23rd Jul 2018, 6:59 PM
MagicmakerYT
+ 1
If you press this button a short audio plays https://code.sololearn.com/WjY4T5hivrYN/?ref=app
25th Jul 2018, 2:06 PM
Eli Ben Shimon
Eli Ben Shimon - avatar
0
/\
23rd Jul 2018, 6:45 PM
MagicmakerYT
0
Second.
23rd Jul 2018, 6:50 PM
MagicmakerYT