- 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.
8 lines
271 B
JavaScript
8 lines
271 B
JavaScript
// 任务:
|
|
// 1. 从 ./summary-service.js 导入数据
|
|
// 2. 用 async / await 获取额外技能
|
|
// 3. 解构 name、stage、skills
|
|
// 4. 用展开运算符合并技能
|
|
// 5. 用模板字符串渲染标题和说明
|
|
// 6. 用 forEach 或 map + 箭头函数渲染列表
|