feat: Add JavaScript core exercises and solutions
- Implemented exercises for array high-order methods, memory and execution, switch statements, and final review. - Added starter and answer files for each exercise to facilitate learning. - Created a runner HTML file to execute JavaScript code and display console outputs. - Updated README files to include exercise objectives, tasks, and usage instructions.
This commit is contained in:
18
README.md
18
README.md
@@ -26,14 +26,22 @@
|
||||
- `starter.html` / `starter.css` 起始代码
|
||||
- `answer.html` / `answer.css` 参考答案
|
||||
|
||||
两部分现在都已经补充到“核心主线 + 常见细分知识点”。
|
||||
现在也已经整理好 `03-javascript-core`,里面包含:
|
||||
|
||||
- JavaScript 核心讲义
|
||||
- 分阶段练习
|
||||
- `starter.js` 起始代码
|
||||
- `answer.js` 参考答案
|
||||
|
||||
前三部分现在都已经补充到“核心主线 + 常见细分知识点”。
|
||||
|
||||
## 使用方式
|
||||
|
||||
1. 先阅读 [01-html-structure/README.md](/Volumes/Macintosh HD 1/home/front-end-example/01-html-structure/README.md)
|
||||
2. 再阅读 [02-css-layout/README.md](/Volumes/Macintosh HD 1/home/front-end-example/02-css-layout/README.md)
|
||||
3. 按顺序完成每个练习目录
|
||||
4. 先写 `starter.html` 或 `starter.css`
|
||||
5. 写完后再对照答案文件
|
||||
3. 再阅读 [03-javascript-core/README.md](/Volumes/Macintosh HD 1/home/front-end-example/03-javascript-core/README.md)
|
||||
4. 按顺序完成每个练习目录
|
||||
5. 先写 `starter.html`、`starter.css` 或 `starter.js`
|
||||
6. 写完后再对照答案文件
|
||||
|
||||
如果你后面要继续学其他知识点,我可以按同样结构继续给你补 `03-javascript-core`、`04-dom-events-async` 等目录。
|
||||
如果你后面要继续学其他知识点,我可以按同样结构继续给你补 `04-dom-events-async`、`05-typescript` 等目录。
|
||||
|
||||
Reference in New Issue
Block a user