diff --git a/zy1.html b/zy1.html new file mode 100644 index 0000000000000000000000000000000000000000..ee7f080429892f1d7c6dba708183e2ece54a9d0b --- /dev/null +++ b/zy1.html @@ -0,0 +1,13 @@ + + + + + +

创建 JavaScript 对象

+

+ + + \ No newline at end of file diff --git a/zy10.html b/zy10.html new file mode 100644 index 0000000000000000000000000000000000000000..9eddee200e5224c584f1e7ab27756d8df0eb2d5e --- /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 0000000000000000000000000000000000000000..c466e5cb2f64d34b8e5799311b5364c1ec1b24e5 --- /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 0000000000000000000000000000000000000000..319d969e221c67967b9ca7dac0182981c6ef7572 --- /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 0000000000000000000000000000000000000000..c0bddcf78e12da1df004ce3611e9f318453c5ae5 --- /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 0000000000000000000000000000000000000000..805c465ae388bb418790ffeddc5ee249e077144c --- /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 0000000000000000000000000000000000000000..b3504b5cceedd5730b666f76ba2672cbce389901 --- /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 0000000000000000000000000000000000000000..5f2c300cc02445ded30b3cfcc070a9812e57f639 --- /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 0000000000000000000000000000000000000000..cc8e20c400c2282910f1c15440099eb374248b94 --- /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 0000000000000000000000000000000000000000..7eb3b65c8d318eae62898531986b4385f4d64eae --- /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 0000000000000000000000000000000000000000..c9f5ac14e4ec6ec22ddf9de923b5ae4811b62a3e --- /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 0000000000000000000000000000000000000000..1c498868cec6ed84d393adb843563ec60ad9b0b0 --- /dev/null +++ b/zy9.html @@ -0,0 +1,22 @@ + + + + +

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

+ +

+ + + \ No newline at end of file