I want to add sounds to my web code. Plz help! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I want to add sounds to my web code. Plz help!

Where to store the audio files, so that I can have links to those sounds easily, and have access to them in my code?

7th Apr 2019, 3:01 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
2 Answers
+ 2
//You can upload on Dropbox and use the audio in your code https://www.sololearn.com/discuss/1054246/?ref=app
7th Apr 2019, 7:44 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Assuming you have established a traditional environment for the web site. Place audi in a folder in the root folder of the site. You might call it 'audio' you can then layer more folders within audio. Such as /audio/car-noises. The important thing to remember is you must refer to the folder properly or you can expect an error. What that means is if your sites working folder is not the site root you might need to change the location of the sounds accordingly. IE: /site/gameofthornes/audio/ouch.ogg Most site builder ide apps will keep track of your site pages and their respective resources for you. Good luck
7th Apr 2019, 7:52 PM
Michael Williams
Michael Williams - avatar