you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 5 months ago (1 child)
  • [–] 1 point 4 months ago*

    JS is a programming language that runs from the website on your computer. By "JS scrollbar" it was meant that the scrollbar is generated by the code, as if it was a program.

    CSS is just a sheet of rules on how things should look like, it's not meant to run programs. This person is pointing out you can just tell the browser to add a scrollbar to something using CSS, without programming.

  • source
  • parent