2. What are some things that can be done using jQuery?
One of jQuery's top features is that it supports the efficient implementation of AJAX applications. It is also capable of event handling, applying or changing CSS, DOM manipulation, built-in animations, and cross-browser support.
3. What are some advantages of jQuery?
In addition to its main features and capabilities, jQuery has a number of advantages. It's easy to use and learn, easy to expand, has a large pool of built-in methods, and numerous plugins.
4. What is the difference between size and length in jQuery?
Size and length both do the same thing, which is to return the number of elements in an object. However, length is preferred over size because it is faster. Length is a property whereas size is a method.
5. What is the difference between .js and .min.js?
There are two different versions of a jQuery library: development and deployment. Both are the same as far as functionality is concerned, but deployment is a much smaller version of the library file. The .min.js refers to the deployment version that loads faster than .js due to being about 50 percent smaller.
6. What are .empty(), .remove(), and .detach()?
The .empty() method removes all of the child elements from a matched element. The .remove() method removes all of the matched elements and all of the jQuery data associated with them. The .detach() method removes all of the matched elements but leaves the jQuery data intact.
7. What is the dollar sign in jQuery and how is it used?
8. What is jQuery connect and how is it used?
jQuery connect is a plug-in that binds one function with another. Before using the connect function, you have to download the file and include it in the HTML file. You'll then use jQuery.connect to bind two functions together.
9. What do you use the Dough cookie plug-in for?
The Dough cookie plug-in is an easy way to create, read, or delete cookies in jQuery.
10. What is a CDN and what are the two types?
CDN stands for Content Delivery Network and refers to a collection of servers around the world in which a request goes to the closest one. The two types of CDNs are Google and Microsoft. Google loads jQuery from Google libraries API and Microsoft loads jQuery from AJAX CDN.
If you're looking to change careers or advance in your current field, check out the Udacity Nanodegree program that can help you gain the skills and training you need to stand apart from the rest.