|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/jquery-for-absolute-beginners/
课程评论:没有评论
**课程名称:jQuery 入门** **课程概述:** 本课程旨在为初学者介绍 jQuery,这是一个广泛用于现代网站开发的JavaScript库。jQuery极大地简化了常见的JavaScript任务,包括动画、事件处理、HTML内容操作以及与外部服务器进行通信。除了易于使用的特性外,jQuery还能自动处理许多跨浏览器兼容性问题。 **前提条件:** * **HTML:** 具备使用HTML标签和属性的基本知识。 * **JavaScript:** 熟悉JavaScript的编写,特别是函数和对象等核心概念,因为jQuery大量使用这些。 * **推荐工具:** Notepad++(或其他支持语法高亮的文本编辑器),以便编写和编辑代码。 * **环境:** 需要一个启用JavaScript的网络浏览器(如Google Chrome或其他现代浏览器)。 **课程内容:** 本课程将系统地讲解jQuery的各项核心功能: 1. **选择器 (Selectors):** 学习如何使用直观易懂的字符串选择器来精确地定位网页中的HTML元素。 2. **事件 (Events):** 掌握编写代码以响应用户交互,如鼠标点击、键盘按键,或页面加载完成等,从而创建交互式用户界面。 3. **效果与动画 (Effects and Animations):** * **效果:** 学习隐藏和显示元素,如鼠标悬停时展开的菜单。 * **动画:** 探索如何通过最小的代码量实现HTML元素的视觉属性动画,进行更复杂的定制。 4. **HTML内容操作 (Modifying HTML Content):** * 学习如何动态地添加、移除HTML元素,以及修改文本和属性。 * 理解HTML文档的树状结构,并通过父子、兄弟元素关系进行导航。 5. **AJAX:** 学习如何使用Asynchronous JavaScript and XML(AJAX)技术与外部服务器进行交互。课程将以读取公共网络服务中的机场数据为例,讲解如何请求数据、处理响应以及错误管理。 通过本课程的学习,您将能够利用jQuery快速而有效地开发动态、交互式和兼容性强的网页。
OverviewJQuery is a popular JavaScript library that is used extensively in modern websites. This library facilitates common JavaScript tasks such as animations, event handling, manipulating HTML content, and communication with external servers. In addition to its easy-to-use features, JQuery also takes care of many cross-browser compatibility issues automatically.Prerequisites HTML: The student must know how to use HTML tags and attributes. Only a very basic understanding of HTML is assumed.JavaScript: Since JQuery is a JavaScript library, the student must know how to write JavaScript. JQuery makes extensive use of functions and objects, so the student must be familiar with these concepts.Notepad++ (Recommended): Notepad++ is a free, open-source text editor. Although JavaScript and HTML can be written using any text editor, Notepad++ is highly recommended because of features such as syntax highlighting and auto-complete.JavaScript-enabled browser: In order to run JavaScript, the student must have access to a JavaScript-enabled browser. Although Google Chrome is used throughout the tutorial, any modern web browser will work as long as JavaScript has not been disabled by an administrator.What you will learn We will begin the course by learning about selectors. Selectors are strings that are used to target specific HTML elements on the page. The selector syntax is highly intuitive and easy to read and understand.We will then move on to events. The student will learn how to write code that reacts to things like mouse clicks, key presses, when the page is done loading, and a few others. These events allow programmers to create interactive user interfaces.After that, we will move on to effects and animations. Effects are used to hide and show elements. An example would be a menu that slides open when the mouse hovers over it. JQuery has a few built-in effects that can be implemented with minimal coding. For further customization, we will look at animations, which allow programmers to animate most of the visual properties of HTML elements.Then we will learn about changing the HTML content of a webpage. This includes adding and removing entire HTML elements, as well as modifying text and other HTML attributes programmatically. We will also learn about how to navigate the tree-like structure of an HTML document using the concept of parent-, sibling-, and child-elements.Finally, we will end the course by looking at AJAX, which stands for Asynchronous JavaScript and XML. AJAX allows programmers to interact with external servers. To serve as our example, we will read airport data from a public web service. We will learn how to request data, how to handle the response, and how to handle errors.