diff --git a/1-js/01-getting-started/3-devtools/chrome.png b/1-js/01-getting-started/3-devtools/chrome.png index fd029b747f..a506389072 100644 Binary files a/1-js/01-getting-started/3-devtools/chrome.png and b/1-js/01-getting-started/3-devtools/chrome.png differ diff --git a/1-js/02-first-steps/04-variables/2-declare-variables/solution.md b/1-js/02-first-steps/04-variables/2-declare-variables/solution.md index 6b780ffa4f..65194ae7d9 100644 --- a/1-js/02-first-steps/04-variables/2-declare-variables/solution.md +++ b/1-js/02-first-steps/04-variables/2-declare-variables/solution.md @@ -18,4 +18,4 @@ let currentUserName = "John"; 现代编辑器的自动补全可以让长变量名变得容易书写。不要浪费这个特性。一个名字中包含三个词就挺好的。 -如果你的编辑器没有合适的自动补全,换[一个新的吧](/editors)。 +如果你的编辑器没有合适的自动补全,换[一个新的吧](/code-editors)。 diff --git a/1-js/06-advanced-functions/01-recursion/head.html b/1-js/06-advanced-functions/01-recursion/head.html index c2ac3e8cee..bb7fe8772f 100644 --- a/1-js/06-advanced-functions/01-recursion/head.html +++ b/1-js/06-advanced-functions/01-recursion/head.html @@ -7,7 +7,7 @@ .function-execution-context { border: 1px solid black; - font-family: "Consolas", monospace; + font-family: 'DejaVu Sans Mono', 'Lucida Console', 'Menlo', 'Monaco', monospace; padding: 4px 6px; margin: 0 4px; } @@ -23,4 +23,4 @@ .function-execution-context-list li:first-child { font-weight: bold; } - \ No newline at end of file + diff --git a/2-ui/1-document/11-coordinates/2-position-at/solution.view/index.css b/2-ui/1-document/11-coordinates/2-position-at/solution.view/index.css index a82c7d9c1b..aa47c04631 100755 --- a/2-ui/1-document/11-coordinates/2-position-at/solution.view/index.css +++ b/2-ui/1-document/11-coordinates/2-position-at/solution.view/index.css @@ -5,7 +5,7 @@ border: 1px solid black; background: white; text-align: center; - font: italic 14px Georgia; + font: italic 14px serif; } blockquote { @@ -25,4 +25,4 @@ blockquote:before { line-height: .1em; margin-right: .25em; vertical-align: -.4em; -} \ No newline at end of file +} diff --git a/2-ui/1-document/11-coordinates/2-position-at/source.view/index.css b/2-ui/1-document/11-coordinates/2-position-at/source.view/index.css index a82c7d9c1b..aa47c04631 100755 --- a/2-ui/1-document/11-coordinates/2-position-at/source.view/index.css +++ b/2-ui/1-document/11-coordinates/2-position-at/source.view/index.css @@ -5,7 +5,7 @@ border: 1px solid black; background: white; text-align: center; - font: italic 14px Georgia; + font: italic 14px serif; } blockquote { @@ -25,4 +25,4 @@ blockquote:before { line-height: .1em; margin-right: .25em; vertical-align: -.4em; -} \ No newline at end of file +} diff --git a/2-ui/1-document/11-coordinates/3-position-at-absolute/solution.view/index.css b/2-ui/1-document/11-coordinates/3-position-at-absolute/solution.view/index.css index 700bd8c22b..c4dd26160e 100644 --- a/2-ui/1-document/11-coordinates/3-position-at-absolute/solution.view/index.css +++ b/2-ui/1-document/11-coordinates/3-position-at-absolute/solution.view/index.css @@ -5,7 +5,7 @@ border: 1px solid black; background: white; text-align: center; - font: italic 14px Georgia; + font: italic 14px serif; } blockquote { @@ -25,4 +25,4 @@ blockquote:before { line-height: .1em; margin-right: .25em; vertical-align: -.4em; -} \ No newline at end of file +} diff --git a/2-ui/1-document/11-coordinates/4-position-inside-absolute/solution.view/index.css b/2-ui/1-document/11-coordinates/4-position-inside-absolute/solution.view/index.css index d2493f6ebc..f2b2cca86b 100644 --- a/2-ui/1-document/11-coordinates/4-position-inside-absolute/solution.view/index.css +++ b/2-ui/1-document/11-coordinates/4-position-inside-absolute/solution.view/index.css @@ -5,7 +5,7 @@ border: 1px solid black; background: white; text-align: center; - font: italic 14px Georgia; + font: italic 14px serif; opacity: .8; } @@ -26,4 +26,4 @@ blockquote:before { line-height: .1em; margin-right: .25em; vertical-align: -.4em; -} \ No newline at end of file +} diff --git a/2-ui/1-document/11-coordinates/head.html b/2-ui/1-document/11-coordinates/head.html index efc6cd1cbe..bba7bec068 100644 --- a/2-ui/1-document/11-coordinates/head.html +++ b/2-ui/1-document/11-coordinates/head.html @@ -1,8 +1,9 @@ \ No newline at end of file + diff --git a/archive/01-hello-world/1-hello-alert/solution.md b/archive/01-hello-world/1-hello-alert/solution.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/archive/01-hello-world/1-hello-alert/solution.view/index.html b/archive/01-hello-world/1-hello-alert/solution.view/index.html deleted file mode 100644 index 45e6744b3a..0000000000 --- a/archive/01-hello-world/1-hello-alert/solution.view/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - -
- - - - - - \ No newline at end of file diff --git a/archive/01-hello-world/1-hello-alert/task.md b/archive/01-hello-world/1-hello-alert/task.md deleted file mode 100644 index afed6a91d3..0000000000 --- a/archive/01-hello-world/1-hello-alert/task.md +++ /dev/null @@ -1,12 +0,0 @@ -importance: 5 - ---- - -# Show an alert - -Create a page that shows a message "I'm JavaScript!". - -Do it in a sandbox, or on your hard drive, doesn't matter, just ensure that it works. - -[demo src="solution"] - diff --git a/archive/01-hello-world/article.md b/archive/01-hello-world/article.md deleted file mode 100644 index 4021e13732..0000000000 --- a/archive/01-hello-world/article.md +++ /dev/null @@ -1,89 +0,0 @@ -# Hello, world! - -大概 98% 的教程都是 JavaScript 核心,而且它们都是跨平台的。所以你可以学习如何使用 Node.Js 和其他基于 Js 的知识。 - -但是我们需要一些类似“基础环境”的东西来运行脚本,浏览器就是一个很不错的选择。 - -所以我们从在网页上添加脚本开始。对于其他环境例如 Node.JS,还有其他方式去运行它。 - -[TODO defer/async 转到第二部分?] - -## "script" 标签 - -[TODO 需要这个?并且特殊(也需要它?)] -```smart header="如果我希望进度更快点呢?" -如果你已经使用 JavaScript 开发过或者对其他语言很有经验,你可以跳过细节解释并跳到...脚本运行后
- -