Problem Description

You have and . On click, change input type between password and text, and update button text to SHOW/HIDE.

Input Format

No input.

Output Format

No output (DOM change).

Constraints

Assume #pwd input and #toggle button exist.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next