1234567891011121314151617181920 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- </head>
- <body>
- <script>
- //输入分数,分数在90-100之间,弹出为很优秀(包含90);分数在60-90之间,弹出为合格;分数小于60为挂科!
- /* 使用window.prompt可以弹出包含输入框的窗口,用户输入的内容将是此函数的返回值
- 年份 判断 是不是闰年 如果是 返回一个 我是闰年 如果不是 返回一个 我不是闰年
- 年份是4的倍数,且不是100的倍数的 */
- </script>
- </body>
- </html>
|