-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
22 lines (19 loc) · 786 Bytes
/
Copy pathscript.js
File metadata and controls
22 lines (19 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
document.getElementById('submitButton').onclick = function() {
if (document.getElementById('fever').checked) {
if("Yes" === document.getElementById('fever').value){
if("Yes" === document.getElementById('cough').value){
if("Yes" === document.getElementById('tierdness').value){
if("Yes" === document.getElementById('breathlessness').value){
alert("conselt to doctor");
}
alert("conselt to doctor and apply for covid check");
}
alert("apply for covid check");
}
alert("apply for covid check");
}
else{
alert("You are ok");
}
}
}