POST request error - Password not hidden

Hi
2021 JavaScript Programming for Blockchain Developers HTML Forms - POST error

In the HTML Forms section when creating a forum there is a line of code the instructor uses that should allow you to hide your password when useing the POST function. But for some reason when I run the code in browser the POST function still shows the password in the browser. Any one know why the password is visible! Instructor said useing POST will hide the password.

<form action="#" mothod="POST">
<label>
    Coin:
    <input type="text" name="coinname" placeholder="Coin" required />
</label>
<label>
    Amount:
    <input type="number" min="0" name="coinQuantity" placeholder="Enter Amount" />
</label>
<input type="password" name="password" placeholder="Password"/>
<button type="submit">Buy</button>
</form>

I

hey @ASLDEV ! first of all you have a type problem here

Should be method instead. This could be the issue.
Please send me a picture with the error or the issue to have a clear vision of whats happening. Normally when you give the type=“password” to an input should hide password automatically.

1 Like

ah silly me thanks! spell check would be great in coding hehehe…

1 Like