![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
孟孟君
这个作者很懒,什么都没留下…
展开
-
js实现520倒计时
在这里插入代码片<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>520倒计时</title></head><body> <p id="txt"></p></body><script> var p = document.getElementById("txt") /原创 2022-05-07 14:48:55 · 619 阅读 · 0 评论 -
用if语句写出任意三个数的最小值
function getMin(a, b, c) {var min;if (a < b) {min = a;} else {min = b;}if (min > c) {min = c;} else {return min;}}console.log(getMin(3, 5, 15));`原创 2022-04-07 22:12:05 · 1553 阅读 · 0 评论 -
如何用html写一个导航栏的三级菜单
<!DOCTYPE html><html lang="en"><head> <title>三级导航栏作业</title> <style> * { margin: 0; padding: 0; } li { list-style: none; width: 120px; height: 50px; colo...原创 2022-04-04 14:58:00 · 1492 阅读 · 0 评论