javascript入门

Original 2018-12-15 11:50:22 212
abstract:<!DOCTYPE html> <html> <head>     <meta charset="UTF-8">     <title>javascript基础</title>   &nb
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>javascript基础</title>
    <script type="text/javascript">
var name='sun';
document.write(name+'</br>');
var a=12,b=15;
c=a*b;
document.write(c+'</br>');
var x=10,y=5;
document.write(x<15&&y>6);

    </script>
</head>
<body>
    
</body>
</html>


Correcting teacher:天蓬老师Correction time:2018-12-15 12:39:25
Teacher's summary:以后,建议, 把变量直接输入到控制台查看: console.log()

Release Notes

Popular Entries