From 0a46226c63eff14c584691b33d73a3a1966183b9 Mon Sep 17 00:00:00 2001 From: alinggo <60703725+alinggo@users.noreply.github.com> Date: Sun, 22 Aug 2021 18:18:44 +0800 Subject: 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 --- .../learn/getting_started_with_the_web/javascript_basics/index.html | 2 +- files/zh-cn/learn/html/introduction_to_html/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'files') 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() {
let myButton = document.querySelector('button');
let myHeading = document.querySelector('h1');
- 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
相关链接
--
cgit v1.2.3-54-g00ecf