UI设计师 :设计稿
web前端开发工程师(H5开发)
设计稿 -> 代码
数据库里的数据 -> 显示到页面
HTML + CSS
HTML : 结构
CSS :样式
web前端的三大核心技术
HTML + CSS +JS
web后端开发工程师
js和html代码演示
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style>div{color: red;font-style: italic;}</style>
<div>Html+css系列教程</div>
<script>
let div = document.querySelector('div');
let timer = null;
let flag = true;
div.onmouseover = function(){
timer = setInterval(()=>{
if(flag){
div.style.color = 'blue';
div.style.fontStyle = 'normal';
}
else{
div.style.color = 'red';
div.style.fontStyle = 'italic';
}
flag = !flag;
},500);
};
div.onmouseout = function(){
clearInterval(timer);
}
</script>