how to remove x scroll js code example Example: how to keep page from scrolling sideways html, body { max-width: 100%; overflow-x: hidden; }