aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin CHEN <33132228+KevinZonda@users.noreply.github.com>2021-06-16 18:13:10 +0100
committerIrvin <irvinfly@gmail.com>2021-06-17 02:54:07 +0800
commit20ee8fa2eab15582db9c8e73094b60d548a5245e (patch)
tree8fb31e44e53d7644186d1d468ff23e1e5b9d7d02
parentc774cd7866e4835fdc31167aaf3c9fb5f441e5c8 (diff)
downloadtranslated-content-20ee8fa2eab15582db9c8e73094b60d548a5245e.tar.gz
translated-content-20ee8fa2eab15582db9c8e73094b60d548a5245e.tar.bz2
translated-content-20ee8fa2eab15582db9c8e73094b60d548a5245e.zip
fix #419
-rw-r--r--files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html b/files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html
index 313a02adc1..4f7add7614 100644
--- a/files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html
+++ b/files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html
@@ -258,7 +258,7 @@ function updateName() {
<ol dir="ltr">
<li>首先,下载示例文件 <a href="https://github.com/roy-tian/learning-area/blob/master/javascript/introduction-to-js-1/what-is-js/apply-javascript.html" id="92a6bf0d0009a65dbe8e2051e58c9e9c-69e65808c197b337a320d1613964f0ea3e3ba5f1" title="apply-javascript.html">apply-javascript.html</a>。放在一个好记的文件夹里。</li>
<li>分别在浏览器和文本编辑器中打开这个文件。你会看到这个 HTML 文件创建了一个简单的网页,其中有一个可点击按钮。</li>
- <li><font face="Open Sans, Arial, sans-serif">然后转到文本编辑器,在 </font><code>&lt;/body&gt;</code> 标签结束前插入以下代码:
+ <li><font face="Open Sans, Arial, sans-serif">然后转到文本编辑器,在 </font><code>&lt;/head&gt;</code> 标签结束前插入以下代码:
<pre class="brush: html notranslate">&lt;script&gt;
// 在此编写 JavaScript 代码