开发者

JQuery Interview Question(From Beginners till Advance) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

This may be a stupid question but however I searched in google with

"jquery interview questions" which didnot worked out much except for

JQuery Interview Questions and few sites with almost the sismilar question pattern(which are ultimately very basic).

Is开发者_如何学Python there any good site where I can get JQuery questions starting from basic to advance.

Thanks


If you hire someone based on a library, there is a serious problem there.

To be an "expert at jQuery", good knowledge of JavaScript is needed, since that's the language. Someone good at JavaScript should be able to pick up any library within a few days. Besides, jQuery isn't exactly brain surgery and most IDEs have support for it built in.


It's not a question of hiring someone based on a library, but based on what they say they know. They claim to know jQuery, you want to assess that statement. In addition jQuery integrates JavaScript with CSS selectors and ideas about method chaining and iteration that have nothing to do with being a good JavaScript developer, except insomuch as a good JavaScript developer should know jQuery.


Just a couple of ideas off the top of my head

Basic

  • Provide an example of how to bind a click event to all paragraphs, except the last one (covers basic dom selection & event handling)
  • Example of how to fade in a div from an invisible state

Advanced

  • Write an selector filter to return only nodes with lower case values.

ie

$.expr[':'].lowercaseOnly = function(el, i, m) {
  ...
}

I also agree with @Coronatus answer. A good jQuery developer should have a solid knowledge of js.


It's easy to pick up jQuery if a developer has good understanding of JavaScript. You could ask questions where there is a strong overlap. Some not so common questions I can think of:

  1. Implementing a function like ready for an external resource that is loaded only once. It must behave exactly like jQuery's ready function. If the resource is not yet loaded, it adds the callback function to be called later. Otherwise, it calls the callback immediately. Fire all stored callbacks when the resource loads.

  2. What are special events in jQuery, and where can they be used? Maybe make up an example of a composite touch event such as tap, and drag at the same time using two fingers.


I recently put together an extensive list of jQuery Interview Questions. I still agree with most of the top answers here that jQuery is really not what you should base your skills on. That being said, here is a link to some of my favorite interview questions you should expect when trying to find a job in the industry where jQuery is being used.

Commonly asked jQuery questions

Good luck!


They probably want a good understanding of the api concepts (http://api.jquery.com/). Some grasp of how ajax and javascript work is also useful as mentionned above.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜