JSFiddle - React, Tailwind, and code Playground

HTML

<input class="time-wrap" value="25">


<button></button>

CSS

button{
  width: 100px;
  height: 30px;
  background-color: red;
}

JavaScript

$('button').click(function(){
if ($('.time-wrap').val() == '25'){
			alert('KEK');
		}
			
		});