JSFiddle - React, Tailwind, and code Playground

HTML

<form>Comments:
    <input type="text" name="comments" id="comment">
    <br>
</form>
<a href=http://translate.google.com/#en/nl/comments target="_blank">Translate your comment and verify it</a>

<button onclick="clickyClick()">Translate and verify</button>

JavaScript

function clickyClick() {
    url = 'http://translate.google.com/#en/nl/' + document.getElementById("comment").value
    window.open(url, '_blank');
}