In this tutorial we will learn how to use jquery and how to read jquery API documentation. As a Bonus, I will also explain what is API that is application programming interface.
jQuery is a javascript based framework that simplifies the development tasks for a web developer. JavaScript and jQuery can be used side by side without causing conflicts. The two most widely used methods of jQuery are fadeIn and fadeOut. These methods are applied to a selector to take effect.
FadeIn method smoothly displays the selected element, whereas fadeOut method smoothly hides the selected element from the view. In order to understand these methods we have done two things. First, we have used these methods in our project; secondly, we have learned to read the API documentation of jQuery.
We do not read the entire API Documentation; instead, we only read specific parts and areas. For example, we read the definition or description of the method; then read the parameters; then see the examples; use them and try to understand their descriptions.
Comments
Post a Comment