Are there any audio files that are freely available that can be used as demo sound when posting on here, or coding playgrounds such as jsfiddle, or codepen?
Audio files that are allowed to be hot linked (“direct linked”) and are able to be freely shared.
Your use of this sound library (including the music files in this library) is subject to the Actions on Google Terms of Service. Sounds and music from this library are intended solely for use by you in Actions that you create.
By downloading music from this library, you agree that you will not:
Make available, distribute or perform the sound and music files from this library separately from Actions into which you have incorporated these sound and music files, on Google platforms including Actions on Google (e.g., standalone distribution of these files, or use on non-Google platforms, is not permitted).
Use the sound and music files from this library in an illegal manner or in connection with any illegal content.
I’m just looking for a direct link that can be used for testing audio in codes.
You need to properly grab the link to the sound:
right-click on the button download;
Click on Inspect;
You’ll see the URL to the sound inside <a href="URL">;
Right-click on the URL, then click on Copy link address.
And the audio files would need to be no copyright.
Freesound has a Creative Commons license. That would do enough for testing.
Besides, I don’t know of any material that has the Public Domain Mark 1.0 you mentioned.