Question: how to keep two windows open side by side on mac?
Answer: Hover your pointer over the full-screen button in the upper-left corner of a window. Or click and hold the button.
Choose ”Tile Window to Left of Screen” or ”Tile Window to Right of Screen” from the menu. ... 
Click a window on the other side of the screen to begin using both windows side by side.