This commit is contained in:
Dima YaFlay
2021-11-03 01:29:32 +03:00
committed by GitHub
parent 646a9a24b8
commit e1ac13a312

View File

@@ -2,10 +2,13 @@
function sayHi(){
alert('Hello World!');
}
// create function
sayHi()
let a = confirm('Do u like my work')
// asking
if (a == true){
alert('Thanks!!')
}else{
alert('Ok, sorry')
}
// if/else