JSFiddle - React, Tailwind, and code Playground

by wirey00

HTML

<input type='password' placeholder='password'/>
<button>test</button>

JavaScript

$('button').click(function(){
   console.log($('input[type=password]').val()); 
});