GoConqr has a new look! Let us know what you think.

Module 10 of 21 · Media

Change Password's type

Kostas Diakogiannis

Change Password's type

DOM-2 Change password's type

Create an input field of type password and single checkbox write after that that says 'show password'.

Normally, when you type the password you shouldn't be able to see anything. Find a way to change this when the checkbox is checked, and change the type of the input from 'password' to 'text'.

Hint: You may want to learn about the checked property of checkboxes that returns a boolean to indicate if the checkbox field is currently checked or not.

See the final result here

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?