当前位置:网站首页>JS performance reward and punishment examples
JS performance reward and punishment examples
2022-06-27 07:35:00 【I am the sun?】
The title is as follows :
Achievements in [90,100], Reward laptops
Achievements in [75,89], Reward the game for one day
Achievements in [60,74], Reward a set of test questions
Achievements in [0,59], Reward tutoring classes
Wrong input , This shows an error
The code is as follows :
<!-- Achievements in [90,100], Reward laptops
Achievements in [75,89], Reward the game for one day
Achievements in [60,74], Reward a set of test questions
Achievements in [0,59], Reward tutoring classes
Wrong input , This shows an error -->
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title> Achievements determine rewards and punishments </title>
<script type="text/javascript">
var grade = prompt(" Please enter your score :");
if(grade > 100 || grade < 0 || isNaN(grade)){
alert(" There is no achievement "+ grade +" Of , Go away ");
}else if(grade >= 90){
alert(" achievement " + grade +" branch , Reward a laptop ");
}else if(grade >= 75){
alert(" achievement " + grade +" branch , Reward the game for one day ");
}else if(grade >= 60){
alert(" achievement " + grade +" branch , Reward a set of test questions ");
}else{
alert(" Achievement talent "+ grade +" branch , Reward tutoring classes ");
}
</script>
</head>
<body>
</body>
</html>
The operation results are as follows :









边栏推荐
- Xiaomi Interviewer: let's talk about the proficient Registration Center for three days and three nights
- R 语言 基于关联规则与聚类分析的消费行为统计
- mssql如何使用语句导出并删除多表数据
- 1-4 decimal representation and conversion
- log4j:WARN No such property [zipPermission] in org.apache.log4j.RollingFileAppender.
- pytorch Default process group is not initialized
- Memory barrier store buffer, invalid queue
- Use uview to enable tabbar to display the corresponding number of tabbars according to permissions
- Yarn create vite reports an error 'd:\program' which is neither an internal or external command nor a runnable program or batch file
- VNC Viewer方式的远程连接树莓派
猜你喜欢
![[Software Engineering] software engineering review outline of Shandong University](/img/38/2c783df56b50dee3bbb908f6f3e70e.png)
[Software Engineering] software engineering review outline of Shandong University

Speech signal feature extraction process: input speech signal - framing, pre emphasis, windowing, fft- > STFT spectrum (including amplitude and phase) - square the complex number - > amplitude spectru

【软件工程】山东大学软件工程复习提纲

From 5 seconds to 1 second, the system flies

在线文本数字识别列表求和工具

2022 cisp-pte (II) SQL injection
![[graduation season] graduation is the new beginning of your life journey. Are you ready](/img/4e/aa763455da974d9576a31568fc6625.jpg)
[graduation season] graduation is the new beginning of your life journey. Are you ready

js来打印1-100间的质数并求总个数优化版

js输出形状

Process termination (have you really learned recursion? Test your recursion Foundation)
随机推荐
Yarn create vite reports an error 'd:\program' which is neither an internal or external command nor a runnable program or batch file
Stream常用操作以及原理探索
Hutool symmetric encryption
js用while循环计算假如投资多年的利率为5%,试求从1000块增长到5000块,需要花费多少年
SQL考勤查询间隔一小时
yarn create vite 报错 ‘D:\Program‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件
R 语言并行计算 spearman 相关系数,加快共现网络(co- occurrence network)构建速度
JDBC transaction commit case
R 中的 RNA-Seq 数据分析 - 调查数据中的差异表达基因!
将通讯录功能设置为数据库维护,增加用户名和密码
Rust Async: smol源码分析-Executor篇
Speech signal feature extraction process: input speech signal - framing, pre emphasis, windowing, fft- > STFT spectrum (including amplitude and phase) - square the complex number - > amplitude spectru
Mobile security tools -jad
Solve the problem of win10 wsl2 IP change
YOLOv6又快又准的目标检测框架 已开源
What is the difference between volatile and synchronized?
一個人管理1000臺服務器?這款自動化運維工具一定要掌握
JDBC operation MySQL example
js中判断奇偶的函数,求圆面积的函数
Remote connection raspberry pie in VNC Viewer Mode