Safari annoying beep

Hi, so I figured out that exiting fullscreen and then re-entering can get rid of the error noises. Here’s my code as well (I temporarily set it to public):

Thanks!