Terminal Prompt asking for password when trying to install Homebrew?

I am having an issue installing Homebrew on my Terminal. When I paste the following code into the Terminal Prompt and press Return, the Terminal asks for a password but I am unable to type it.

/usr/bin/ruby -e "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"

Can anyone help me figure out what the issue is?

The issue is that the Terminal is not displaying any characters when the password is being typed. This is a security measure to prevent someone from seeing the password as it is being typed. Simply type in the password and press Return, even though it appears that nothing is being typed.