How to find my Wi-Fi password

I'm trying to find my Wi-Fi password which i wrote down but lost. I have looked up and tried many times but it is not working. I have tried to open up the run prgram typed in cdm or whatever then i put in ipconfig and found the number and typed it into my browser the prblem is when i do tht i come up with a thing that says username and password i found it said the usernme would be admin and the pass either admin or 1234 and thats not working it brings me to a pink page saying not authorized? And i don't understand what's wrong with my computer. I'm getting really pissed i need to find out my Wi-Fi password i'm pissed i just got the iphone and need it for work etc and can't use it without the Wi-Fi password!

Hook up your computer directly to the modem via an ethernet cable. Then try entering your ip address into a web browser. That often opens up a page where you can access the modem.

Right click on your Internet icon symbol in the bottom left of the screen and open it. Find the where the password for Wi-Fi is typed. Then there should be a little box that says something like "show characters" and you select that and it'll show you what the password is.

There's a easy way to find out if you have a computer already connected to the Wi-Fi. If you click on the Wi-Fi icon on the bottom right corner of your computer, it shows the network that you are connected to. Right click and click properties. Under the password, click show characters and that'll tell you your Wi-Fi password.