how to do a scrollbar thingy

Hey!! I’m relatively new to CSS and HTML and I’ve seen many websites that when they have too much information to fit in a box they do a scrollbar (i think that is what it’s called, correct me if i’m wrong) and I’ve been wanting to do the same but I can’t figure out how, can somoene help me please??

To give a box a scrollbar, first you’ll need to use CSS to limit its height. Then add overflow: auto. So, for instance, your CSS rule might look like this:

.box {

height: 500px;

overflow: auto;

}