site profile thumbnail
I have seen many projects lately which add sound effects to buttons so I wanted to share how to do it. Each of the sounds needs their own code. You can find the code in each embed. To add them to your project: 1. Add a class to the div where you want the sound to play when clicked. 2. Add an embed and paste the code in your project. 3. Change the code to match your class name and the mp3 address where you hosted your audio file. ****Important**** - Do not link to the audio files on the clonable. Make sure to host the audio file in your server. These files will be removed and they won’t work in the near future. - You need to publish the project to hear the sounds Sounds by: Sign up for the lesson: If you have any questions feel free to comment. P.S Like or follow if this was useful for you πŸ™‚ πŸ™Œ

More sites by Webflowtips

See profile

Similar sites