{"version":"1.0","type":"rich","title":"Password Visibility - Multiple Fields","description":"This example demonstrates a password change form with two separate password fields and a single \"Show passwords\" checkbox. The interface shows the current and new password inputs, with the checkbox toggling both fields between masked and visible text. The code uses plain JavaScript with the `querySelector` and `querySelectorAll` methods to access the checkbox and all password inputs, then listens for a `click` event to loop through each input and change its `type` attribute between `password` and `text`. No external libraries are used; the interaction relies entirely on native DOM manipulation and event handling.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-7c6ee7f90b2508f89fab168f0926d4ce?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}