There are multiple ways to view the Wi-Fi password, but using Settings is the easiest. The Netsh utility, accessible via Command Prompt, shows passwords for all the networks you've ever connected to.
Although it's typical to interact with the graphical user interface when using Windows, it's still a good idea to know how to use the Command Line. If you dedicate the time to learning it, you could ...
Sometimes when something breaks in Windows, I skip the Settings app and go straight to Command Prompt. Five built-in commands handle the bulk of common problems - repairing corrupted system files, ...