Module 03 · JavaScript Programming for Web ApplicationsWeb 应用 JavaScript 编程
Hands-On Lab: Manipulating DOM with JavaScript动手实验:使用 JavaScript 操作 DOM
In this lab, you will dive into the Document Object Model (DOM), which represents the structure of an HTML document as an object, enabling dynamic interaction and modification of web pages.
在这个实验室,您将深入探索文档对象模型(DOM),它将 HTML 文档的结构表示为一个对象,从而实现网页的动态交互和修改。
Using JavaScript's powerful DOM manipulation methods, you will build an interactive to-do list application.
使用 JavaScript 强大的 DOM 操作方法,您将构建一个交互式待办事项列表应用程序。
By the end of this lab, you will understand how to use methods like document.createElement(), appendChild(), and removeChild() to dynamically add, edit, and remove elements, creating a responsive and real-time task management experience.
到本实验结束时,您将了解如何使用 document.createElement()、appendChild()和 removeChild()等方法动态添加、编辑和删除元素,创建一个响应式和实时任务管理体验。
Note: In case you are unable to access the launch App button, instructions to complete this lab are also available here
注意:如果无法访问启动应用程序按钮,完成此实验的说明也在此处提供.