Blogger Information
Blog 19
fans 0
comment 0
visits 16743
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
javascript基础学习2019.10.22
努力拼搏----赵桂福的博客
Original
708 people have browsed it

今天学习了JavaScript基础知识,老师讲的很好,感觉理解还是可以的。现将练习的实例展现如下:

实例

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
PHP 中文网,学习JavaScript
</title>
</head>
<body>
	
<p>
<script>
    function show(){
        alert('您好,很高兴见到您!');
    }
</script>
</p>
<script>
show();//上面的定义,我在此处被执行
document.write('<h1>我开始学习javascrpt</h1>');
var name='Hello,my name is 赵桂福';
function getName(){
    return name;
}
document.write(getName());
</script>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

【总结】 灵活运用还是差了些,需要不断的努力学习。感谢 php中文网老师的辛苦付出。

Correction status:qualified

Teacher's comments:写得不错, 刚开始, 一定要用心
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post