- 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.
7 lines
246 B
JavaScript
7 lines
246 B
JavaScript
// 任务:
|
|
// 1. 获取昵称输入框、目标文本域、阶段下拉框
|
|
// 2. 监听昵称和目标的 input 事件
|
|
// 3. 把输入内容实时渲染到右侧预览
|
|
// 4. 监听阶段下拉框的 change 事件
|
|
// 5. 更新阶段标签文字
|