- 博客(13)
- 收藏
- 关注
原创 全选...
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>全选&...
2022-06-09 17:48:31 72
原创 判断用户输入的文字是否为123开头
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title&...
2022-06-02 17:12:42 137
原创 扑克牌..
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>扑克牌...
2022-05-26 17:08:03 79
原创 扑克牌..
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>扑克牌...
2022-05-26 17:06:36 75
原创 定时器..
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>定时器...
2022-05-19 17:13:28 47
原创 背景变色.
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>背景变...
2022-05-12 17:12:40 61
原创 数学循环.
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title&...
2022-05-05 09:56:50 60
原创 lol轮播图静态效果
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title&...
2022-04-28 17:34:33 125
原创 级联列表.
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title&...
2022-04-21 17:43:08 89
原创 数组和网页交互(字符串的拼接)
字符串的拼接var navs=["百度","腾讯","阿里","字节"]字符数组var str=""for(var n=0;n<navs.length;n++){str=str+"<li>"+navs[n]+"</li>"}var nav=document.getElementById("nav")nav.innerHTML=str
2022-04-14 17:17:57 99
原创 哈士奇..
!DOCTYPE html><html><head><title>哈士奇</title><style type="text/css">*{margin: 0;padding: 0;}body{width: 100px ;height: 400px;margin: 100px auto;background-color: #ccc;position: relative;}.husky-ear1,.husky-e
2022-04-05 09:32:49 67
原创 分支语句.
分支语句 需要有对应的判定条件分支语句:单分支,双分支,多重分支:有多个判断条件,嵌套分支单分支:由用户输入一个用户名,如果用户名等于admin,在控制台输出欢迎var username(用户名)=prompt("请输入用户名")if(username=="admin"){alert('欢迎')}双分支:由用户输入一个学生的成绩,如果成绩大于60分,在控制台输出及格如果小于60分输出不及格var score(分数)=prompt('请输入学生的成绩')if(scor...
2022-03-18 15:40:49 168
原创 面积计算。
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title...
2022-03-17 17:22:36 113
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人