官术网_书友最值得收藏!

Chapter 1. Getting Started

Today's World Wide Web (WWW) is a dynamic environment and its users set a high bar for both the style and function of sites. To build interesting and interactive sites, developers are turning to JavaScript libraries such as jQuery to automate common tasks and to simplify complicated ones. One reason the jQuery library is a popular choice is its ability to assist in a wide range of tasks.

It can seem challenging to know where to begin because jQuery performs so many different functions. Yet, there is a coherence and symmetry to the design of the library; many of its concepts are borrowed from the structure of HTML and Cascading Style Sheets (CSS). The library's design lends itself to a quick start for designers with little programming experience, since many have more experience with these technologies than they do with JavaScript. In fact, in this opening chapter we'll write a functioning jQuery program in just three lines of code. On the other hand, experienced programmers will also be aided by this conceptual consistency, as we'll see in the later, more advanced chapters.

In this chapter, we will cover:

  • The primary features of jQuery
  • Setting up a jQuery code environment
  • A simple working jQuery script example
  • Reasons to choose the jQuery approach over plain JavaScript code
  • Common JavaScript development tools
主站蜘蛛池模板: 顺平县| 台湾省| 合肥市| 玉树县| 宝山区| 花莲县| 浠水县| 玉龙| 久治县| 郯城县| 邹平县| 莒南县| 伊通| 达拉特旗| 句容市| 宜黄县| 淮滨县| 鸡东县| 孝昌县| 梅河口市| 临漳县| 政和县| 绥芬河市| 资阳市| 永宁县| 贵阳市| 扎兰屯市| 铜梁县| 玉林市| 郎溪县| 赣州市| 巫溪县| 香格里拉县| 邻水| 抚宁县| 宁国市| 长泰县| 靖西县| 犍为县| 略阳县| 龙胜|