Skip to content

Commit ffcec29

Browse files
committed
translate tasks
1 parent 7cf990d commit ffcec29

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

1-js/02-first-steps/01-hello-world/1-hello-alert/task.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ importance: 5
22

33
---
44

5-
# Show an alert
5+
# 顯示一個提示語
66

7-
Create a page that shows a message "I'm JavaScript!".
7+
創建一個頁面來顯示 "I'm JavaScript!" 提示語。
88

9-
Do it in a sandbox, or on your hard drive, doesn't matter, just ensure that it works.
9+
寫在沙盒或是你的硬碟中都沒有關係,只要你確保它能夠正確運行。
1010

1111
[demo src="solution"]
1212

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
The HTML code:
1+
HTML 程式碼:
22

33
[html src="index.html"]
44

5-
For the file `alert.js` in the same folder:
5+
使用在同一個資料夾中的 `alert.js`
66

77
[js src="alert.js"]
88

1-js/02-first-steps/01-hello-world/2-hello-alert-ext/task.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ importance: 5
22

33
---
44

5-
# Show an alert with an external script
5+
# 使用外部腳本顯示提示語
66

7-
Take the solution of the previous task <info:task/hello-alert>. Modify it by extracting the script content into an external file `alert.js`, residing in the same folder.
7+
使用前一個任務的答案 <info:task/hello-alert>。將腳本的內容抽出至一個外部檔案 `alert.js` 並將它放在同個資料夾之下。
88

9-
Open the page, ensure that the alert works.
9+
開啟頁面,確保提示語正確運行。

0 commit comments

Comments
 (0)