当前位置:网站首页>JS input and output

JS input and output

2022-07-07 04:50:00 Big bug of xiaofeichan

<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <!-- 2. Built in js -->
    <script>
        //prompt  This is an input box 
        prompt(' Please enter your name ');
        //alert  Pop up alert box   Output   Show the 
        alert(' also ');
        // console  Console output   For programmers to test ( Press F12)
        console.log(' I'm what programmers can see ');
    </script>
    <!-- 3. external js script  Double label  -->
   
</head>
<body>
    <!-- 1. In line js-->

</body>

</html>

Compiling mode : newly build - file -HTML- Solution - Right click - Add new item -HTML

原网站

版权声明
本文为[Big bug of xiaofeichan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130747001046.html