how to place button next to form code example Example: have button beside form input form { display: flex; } input[type=text] { flex-grow: 1; }