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.