updating the enter key function, the absolute position for input body, and the use of hide/show instead of opacity