Sounds make menus answer a click: your own sounds in the pack, or Minecraft's sounds by name.
Your own sounds
Open Sounds in the sidebar and press Upload sound. Minecraft plays Ogg Vorbis only, so export the sound as .ogg, for example in Audacity. The build puts each sound into the resource pack under your namespace, as it was uploaded.
Free: sounds 3, each file 1 MiB, 10 seconds
Creator: sounds 25, each file 3 MiB, 30 seconds
Network: sounds 75, each file 3 MiB, 30 seconds
Studio: sounds 225, each file 3 MiB, 30 seconds
Minecraft sounds for menus
Under Examples for menus are Minecraft sounds in five groups: clicks, success, locked or denied, open and close, and rewards and magic. Play one to hear it and copy its name. A search finds any other Minecraft sound event.These sounds play from Minecraft's own servers in your browser. They never go into your pack, because every player already has them.
Play a sound from a menu
In the menu editor, select a button, press Add action and choose Sound. Enter a sound name, such as Minecraft's ui.button.click, or pick one of your own. A volume or pitch other than 1 saves the menu in a newer menu format.