Hey there @prodigyson24! Welcome to the community! So basically all that happened was you had closed your viewport window. You can reopen it like this:
However if that fails you can also reset to the default editor layout, this can solve 90% of your window problems immediately. I highly recommend making a layout you like and saving it here and using that instead of the default, since if you’re like me and sometimes drop your windows into the backrooms, you may be hitting this button once a week.