have button beside form input

CSS
form { display: flex; }
input[type=text] { flex-grow: 1; }
Source

Also in CSS: