diff options
author | alinggo <60703725+alinggo@users.noreply.github.com> | 2021-08-22 18:18:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-22 18:18:44 +0800 |
commit | 0a46226c63eff14c584691b33d73a3a1966183b9 (patch) | |
tree | 35717279dfe1d0b719b42780c910aef323077648 /files | |
parent | e5b8ae8c5d03845621d372bd1932e5e10956cede (diff) | |
download | translated-content-0a46226c63eff14c584691b33d73a3a1966183b9.tar.gz translated-content-0a46226c63eff14c584691b33d73a3a1966183b9.tar.bz2 translated-content-0a46226c63eff14c584691b33d73a3a1966183b9.zip |
Improve translation in Learn/Getting_started_with_the_web/JavaScript_basics, zh-CN (#2156)
* Removes potential ambiguity on javascript_basics.
* Update index.html
Removes potential ambiguity.
* Replace broken link in introduction_to_html
* Optimized expression in javascript_basics
Diffstat (limited to 'files')
-rw-r--r-- | files/zh-cn/learn/getting_started_with_the_web/javascript_basics/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/learn/html/introduction_to_html/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/learn/getting_started_with_the_web/javascript_basics/index.html b/files/zh-cn/learn/getting_started_with_the_web/javascript_basics/index.html index 378913f393..eacd31f1b0 100644 --- a/files/zh-cn/learn/getting_started_with_the_web/javascript_basics/index.html +++ b/files/zh-cn/learn/getting_started_with_the_web/javascript_basics/index.html @@ -367,7 +367,7 @@ myImage.onclick = function() { <pre class="brush: js notranslate">let myButton = document.querySelector('button'); let myHeading = document.querySelector('h1');</pre> </li> - <li>然后添加以下函数来设置个性化欢迎信息。(函数暂时不起作用,稍后修复) + <li>然后添加以下函数来设置个性化欢迎信息。(函数需要在调用后生效,下文中提供了两种对该函数的调用方式) <pre class="brush: html notranslate">function setUserName() { let myName = prompt('请输入你的名字。'); localStorage.setItem('name', myName); diff --git a/files/zh-cn/learn/html/introduction_to_html/index.html b/files/zh-cn/learn/html/introduction_to_html/index.html index 4452927531..65a460db43 100644 --- a/files/zh-cn/learn/html/introduction_to_html/index.html +++ b/files/zh-cn/learn/html/introduction_to_html/index.html @@ -55,7 +55,7 @@ translation_of: Learn/HTML/Introduction_to_HTML <h2 id="相关链接">相关链接</h2> <dl> - <dt><a href="https://teach.mozilla.org/activities/web-lit-basics/">网络文化基础 1</a></dt> + <dt><a href="https://mozilla.github.io/content/web-lit-whitepaper/">网络文化基础 2</a></dt> <dd>一个优秀的Mozilla基础课程,探索和测试在HTML模块介绍中讨论的许多技能。学习者熟悉阅读,写作和参与这个六部分模块的网络。通过生产和协作掌握网络的基础。</dd> <dt></dt> </dl> |