remove scroll from page css code example
Example 1: how to make scrollbar hidden
overflow: hidden;
Example 2: javascript hide scrollbar
function HideScrollbar() {
var style = document.createElement("style");
style.innerHTML = `body::-webkit-scrollbar {display: none;}`;
document.head.appendChild(style);
}