JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" name="Ok" id="Ok"/>
<p class="now">Сегодня</p> <input type="text" name="now" id="now" value="13:45"/>
<p class="tomorrow">Завтра</p> <input type="text" name="tomorrow" id="tomorrow" value="15:30"/>
<br/>
<input type="button" value="Готово" />
CSS
#now, #tomorrow{display:none;}
JavaScript
$('.now').click(function(){
$('#now').show();
$('#tomorrow').hide();
});
$('.tomorrow').click(function(){
$('#tomorrow').show();
$('#now').hide();
});