I made my viewport background black and dont know how to change it back While I was working accidentally got distracted and pressed some keys not sure which ones... I only saw a menu pop up for a second and then suddenly my viewport background became black.
Not sure what you did, but a good place to check is in the World Properties Tab. The settings I have highlighted are the defaults - make sure yours match.