If you have gone through the previous chapter, you probably have implemented jQuery in your Battleship game. In this chapter, we will discuss about jQuery in detail.
We use jQuery due to the following advantages:
It is open source; you can edit or modify its code if required
It is a small library (about 150 KB file)
The community support for jQuery is very strong; you can get help from the users easily
It is user-friendly and popular
It supports cross-browsers
It is openly developed; you can fix any bug or add features to it by editing the codes