Are scrollbars necessary?
A scrollbar is needed in instances where there are a lot of items in a dropdown menu. The general rule is that only 6 to 10 items should be visible in the dropdown.
How do I make a page not scrollable?
To hide the scrollbar and disable scrolling, we can use the CSS overflow property. This property determines what to do with content that extends beyond the boundaries of its container. To prevent scrolling with this property, just apply the rule overflow: hidden to the body (for the entire page) or a container element.