


Why should I use JavaScript Libraries?
When creating complex interactive websites JavaScript is great but it can take a long time to code even the simplest of tasks. Just fading out an element in JavaScript takes many lines of code.
This is why javascript librarys are so popular. They can simplify your JavaScript code helping you create better websites faster. There are a bunch of different JavaScript librarys out there including, MooTools, jQuery and ProtoType. By far the most popular is jQuery so we will focus on that for this article.
How do they work?
A library is just pre-written code that contains the logic to do certain tasks. Librarys can be very helpful when you need to perform common tasks that are tedious to code yourself. Instead of spending hours writting code from scratch you can simply import a library into your code and use it's logic.
How can jQuery help you
Hiding a element is pretty easy in Javascript you just need to get the element you want to hide then set it's properties. For example: