From 735efbd0ddb981b1b10fd11616c737a84eddc5c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=BA=E7=BF=94?= <2045602860@qq.com> Date: Thu, 26 Oct 2023 11:54:42 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=BB=BA=2034=20=E5=88=98?= =?UTF-8?q?=E6=99=BA=E7=BF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "34 \345\210\230\346\231\272\347\277\224/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "34 \345\210\230\346\231\272\347\277\224/.keep" diff --git "a/34 \345\210\230\346\231\272\347\277\224/.keep" "b/34 \345\210\230\346\231\272\347\277\224/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 932425b105f753c79c6bb68264c3088431452990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=BA=E7=BF=94?= <2045602860@qq.com> Date: Thu, 26 Oct 2023 11:57:27 +0000 Subject: [PATCH 2/2] =?UTF-8?q?34=20=E5=88=98=E6=99=BA=E7=BF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘智翔 <2045602860@qq.com> --- ...72\347\241\200\350\257\255\346\263\225.md" | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 "34 \345\210\230\346\231\272\347\277\224/js\345\237\272\347\241\200\350\257\255\346\263\225.md" diff --git "a/34 \345\210\230\346\231\272\347\277\224/js\345\237\272\347\241\200\350\257\255\346\263\225.md" "b/34 \345\210\230\346\231\272\347\277\224/js\345\237\272\347\241\200\350\257\255\346\263\225.md" new file mode 100644 index 0000000..280e9d3 --- /dev/null +++ "b/34 \345\210\230\346\231\272\347\277\224/js\345\237\272\347\241\200\350\257\255\346\263\225.md" @@ -0,0 +1,80 @@ +# Day01 作业布置 + +## 一. 完成课堂所有的代码 + +```javascript + + + + + + Document + + + +

这是H1标签

+

这是H2标签

+ +

这是H3标签

+ + + +let num1=document.querySelector('.b1') +num1.onclick=function() { + alert('你点击了H3标签') + +} +``` + + + +## 二. 简单聊聊JavaScript的历史(自己的话术来总结) + +由BE用时10天开发出来 Javascript 结合了(c语言、scheme语言、JAVA语言 、self语言) + + + +## 三. 说说你对JS引擎的理解(自己的话术总结) + + 将javascript 高级编程语言转换成机器指令 + + + +## 四. JavaScript的交互方式有哪些?(后两种方式) + +document.write + +prompt + + + +## 五. 定义一些你日常生活或者在某些程序中见到的变量(10个)(预习) + +- String - 存储文本,例如"Hello World"。 字符串值用双引号括起来 +- int - 存储整数 (整数),不带小数,如123或-123 +- float - 存储带小数的浮点数,例如19.99或-19.99 +- char - 存储单个字符,如"a"或"B"。 字符值用单引号括起来 +- boolean +- String - 存储文本,例如"Hello World"。 字符串值用双引号括起来 +- int - 存储整数 (整数),不带小数,如123或-123 +- float - 存储带小数的浮点数,例如19.99或-19.99 +- char - 存储单个字符,如"a"或"B"。 字符值用单引号括起来 +- boolean + + + +## 六. 说出JavaScript中的常见数据类型以及它们代表的含义(预习) + +- string +- number +- boolean +- object +- function +- symbol + +Number() 转换为数字, String() 转换为字符串, Boolean() 转换为布尔值。 \ No newline at end of file -- Gitee