JSFiddle - React, Tailwind, and code Playground

by weranda

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<div class="link">Link to textarea</div>

<textarea name="" id="text" cols="30" rows="10"></textarea>




<script>
$('.link').click(function() {
  $('#text').focus();
});
</script>

CSS

.link{margin-bottom: 1000px;}