摘要: 基本类型: // number 数值 整数和小数 // string 字符串 (字符)"" '' // bool true/false // null 没有 // undefined var a=null; console.log(typeof a) 复杂类型: // object: 正则、数值对象 阅读全文
posted @ 2021-11-02 17:19 君亦歆 阅读(23) 评论(0) 推荐(0)
摘要: 第一种点击事件: <!-- <div class="div" onclick="alert(0)">点我</div> 第一种点击方式--> 第二种点击事件: <!-- <script> window.onload = function(){ document.querySelector(".div" 阅读全文
posted @ 2021-11-02 16:24 君亦歆 阅读(36) 评论(0) 推荐(0)
摘要: HTML部分: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css/login.css"/> <!-- <script 阅读全文
posted @ 2021-11-01 17:11 君亦歆 阅读(27) 评论(0) 推荐(0)
摘要: HTML部分: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="../css/head.css"/> </head> <b 阅读全文
posted @ 2021-10-29 21:34 君亦歆 阅读(447) 评论(0) 推荐(0)
摘要: HTML部分: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css/buy.css"/> </head> <body> 阅读全文
posted @ 2021-10-28 11:26 君亦歆 阅读(500) 评论(0) 推荐(0)
摘要: HTML部分: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <link rel="stylesheet" type="text/css" href="index.css"/> </head> <body> 阅读全文
posted @ 2021-10-28 08:16 君亦歆 阅读(28) 评论(0) 推荐(0)
摘要: HTML部分: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>专辑</title> <link rel="stylesheet" type="text/css" href="tex2.css"/> </head> <body> 阅读全文
posted @ 2021-10-27 08:07 君亦歆 阅读(42) 评论(0) 推荐(0)
摘要: HTML部分内容: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="rading.css"/> </head> <body 阅读全文
posted @ 2021-10-25 16:42 君亦歆 阅读(40) 评论(0) 推荐(0)