@SudodoSu
Posted
Hello Coder π.
Congratulations on successfully completing the challenge! π
To prevent scrolling on the body element, you can apply the CSS property overflow: hidden
to it. This will ensure that the content within the body does not cause any scrolling behavior. By setting overflow
to hidden
, the scrollbar will be hidden, and users will not be able to scroll within the body.
Here's the updated code snippet:
body {
overflow: hidden;
}
By adding this CSS rule to your stylesheet, you can effectively prevent scrolling on the body element and provide a seamless user experience without unnecessary scrollbars.
You also left one closing </div> element at the bottom of the body.
I hope this helps.
Happy codingπ