Why would a programmer use a web library?

a
to learn about the history of a programming language
b
to quickly insert functions and code into web pages
c
to find books available in their area
d
to see what websites looked like before they were updated