From 715f22830513e93bc60c988c91cfbef12d61406e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E7=BE=8E=E6=B7=87?= <3140813253@qq.com> Date: Thu, 25 Mar 2021 21:04:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E4=B8=AA=20JavaScript=20?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zy1.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 zy1.html diff --git a/zy1.html b/zy1.html new file mode 100644 index 0000000..ee7f080 --- /dev/null +++ b/zy1.html @@ -0,0 +1,13 @@ + + + + + +

创建 JavaScript 对象

+

+ + + \ No newline at end of file -- Gitee From bfef030f8db8064dbce65488fae341fcc7ada770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E7=BE=8E=E6=B7=87?= <3140813253@qq.com> Date: Sat, 27 Mar 2021 20:08:12 +0800 Subject: [PATCH 2/2] JavaScript --- zy10.html | 25 +++++++++++++++++++++++++ zy11.html | 12 ++++++++++++ zy12.html | 19 +++++++++++++++++++ zy2.html | 18 ++++++++++++++++++ zy3.html | 18 ++++++++++++++++++ zy4.html | 20 ++++++++++++++++++++ zy5.html | 23 +++++++++++++++++++++++ zy6.html | 13 +++++++++++++ zy7.html | 23 +++++++++++++++++++++++ zy8.html | 19 +++++++++++++++++++ zy9.html | 22 ++++++++++++++++++++++ 11 files changed, 212 insertions(+) create mode 100644 zy10.html create mode 100644 zy11.html create mode 100644 zy12.html create mode 100644 zy2.html create mode 100644 zy3.html create mode 100644 zy4.html create mode 100644 zy5.html create mode 100644 zy6.html create mode 100644 zy7.html create mode 100644 zy8.html create mode 100644 zy9.html diff --git a/zy10.html b/zy10.html new file mode 100644 index 0000000..9eddee2 --- /dev/null +++ b/zy10.html @@ -0,0 +1,25 @@ + + + + +

点击下面的按钮来显示今天是周几:

+ +

+ + + \ No newline at end of file diff --git a/zy11.html b/zy11.html new file mode 100644 index 0000000..c466e5c --- /dev/null +++ b/zy11.html @@ -0,0 +1,12 @@ + + + + + + + \ No newline at end of file diff --git a/zy12.html b/zy12.html new file mode 100644 index 0000000..319d969 --- /dev/null +++ b/zy12.html @@ -0,0 +1,19 @@ + + + + +

点击下面的按钮,只要i小于5就一直循环代码块。

+ +

+ + + \ No newline at end of file diff --git a/zy2.html b/zy2.html new file mode 100644 index 0000000..c0bddcf --- /dev/null +++ b/zy2.html @@ -0,0 +1,18 @@ + + + + + +

创建 JavaScript 对象

+

+ + + \ No newline at end of file diff --git a/zy3.html b/zy3.html new file mode 100644 index 0000000..805c465 --- /dev/null +++ b/zy3.html @@ -0,0 +1,18 @@ + + + + + +

有两种方式可以访问对象属性:

+

你可以使用.property或["property"].

+

+ + + \ No newline at end of file diff --git a/zy4.html b/zy4.html new file mode 100644 index 0000000..b3504b5 --- /dev/null +++ b/zy4.html @@ -0,0 +1,20 @@ + + + + + +

创建和使用对象方法。

+

对象方法作为一个函数定义存储在对象属性中。

+

+ + + \ No newline at end of file diff --git a/zy5.html b/zy5.html new file mode 100644 index 0000000..5f2c300 --- /dev/null +++ b/zy5.html @@ -0,0 +1,23 @@ + + + + + +

创建和使用对象方法。

+

+

+ + + \ No newline at end of file diff --git a/zy6.html b/zy6.html new file mode 100644 index 0000000..cc8e20c --- /dev/null +++ b/zy6.html @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/zy7.html b/zy7.html new file mode 100644 index 0000000..7eb3b65 --- /dev/null +++ b/zy7.html @@ -0,0 +1,23 @@ + + + + + +

点击按钮,显示确认框。

+ +

+ + + \ No newline at end of file diff --git a/zy8.html b/zy8.html new file mode 100644 index 0000000..c9f5ac1 --- /dev/null +++ b/zy8.html @@ -0,0 +1,19 @@ + + + + +

点击按钮查看输入的对话框。

+ +

+ + + \ No newline at end of file diff --git a/zy9.html b/zy9.html new file mode 100644 index 0000000..1c49886 --- /dev/null +++ b/zy9.html @@ -0,0 +1,22 @@ + + + + +

点击这个按钮,获得基于时间的问候。

+ +

+ + + \ No newline at end of file -- Gitee