feat: add TypeScript lessons and learning panel
- Introduced a new script to check TypeScript lesson files for errors. - Created a main TypeScript file to render lessons and their details. - Added lesson definitions with starter and answer codes. - Implemented a user interface for navigating and running lessons. - Styled the application with CSS for a better user experience. - Updated README to reflect the new TypeScript section and usage instructions.
This commit is contained in:
6
04-dom-events-async/11-input-live-preview/starter.js
Normal file
6
04-dom-events-async/11-input-live-preview/starter.js
Normal file
@@ -0,0 +1,6 @@
|
||||
// 任务:
|
||||
// 1. 获取昵称输入框、目标文本域、阶段下拉框
|
||||
// 2. 监听昵称和目标的 input 事件
|
||||
// 3. 把输入内容实时渲染到右侧预览
|
||||
// 4. 监听阶段下拉框的 change 事件
|
||||
// 5. 更新阶段标签文字
|
||||
Reference in New Issue
Block a user