jsnote
# DAY1
通过id操作html元素
document.getElementById()
操作元素属性
1 | |
javascript显示
window.alert()弹窗document.write()写入html输出innerHTML写入HTML元素console.log控制台日志
document.write()方法仅用于测试,document.write()会删除已有html
JavaScript 对大小写敏感!!
jsnote
http://example.com/2023/03/27/jsnote/