jQuery Best Practices - Learn in 10 Minutes | Part 2

preview_player
Показать описание
This is the part 2 of the best coding practices series when we are using the jQuery code library.

In this video I have talked about some of the best practices that we should follow while using the jQuery code library.

The best practices that I have described in this video are:

1) Add class instead of setting multiple CSS attributes.
2) Naming convention of jquery variables.
3) Use JavaScript to find elements for simple selectors.
4) Using jQuery as an argument.

Рекомендации по теме