forked from atchuuu/Html-Files
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjavascript.html
More file actions
83 lines (81 loc) · 1.82 KB
/
javascript.html
File metadata and controls
83 lines (81 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head> <script src="1.js"></script></head>
<body>
<script>
document.write("Giggity")
alert("This is an alert")
var a=10;
var b=5;
var c=a+b;
document.write(c)
document.write("<br>");
var c=a*b;
document.write(c)
document.write("<br>");
var c=a/b;
document.write(c)
document.write("<br>");
var c=a-b;
document.write(c)
document.write("<br>");
var c=a==b;
document.write(c)
document.write("<br>");
var c=a!=b;
document.write(c)
document.write("<br>");
var c=a<b;
document.write(c)
document.write("<br>");
var c=a>b;
document.write(c)
document.write("<br>");
var c=a<=b;
document.write(c)
document.write("<br>");
var c=a>=b;
document.write(c)
document.write("<br>");
var a1=80;
var a2=75;
var a3=90;
var a4=80;
var a5=95;
var a6=95;
var a7=a1+a2+a3+a4+a5+a6;
var a8=a7/6;
document.write(a8);
document.write("<br>");
document.write(a==b?"True":"False")
document.write("<br>");
function abc()
{
alert(
"you just clicked me;)<^^>"
)
var abcd=prompt("Enter your Input")
document.write("You Entered "+abcd)
var a=confirm("Do you want to continue..?")
if(a ==true)
{
document.write(" you have agreed to continue")
return True;
}
else{
document.write("wtf..is wrong with youu..??")
return False;
}
}
var x=197;
document.write(x)
document.write(x%2!=0?"it is odd":"it is even")
document.write("<br>")
</script>
<noscript>
stfu and turn on js in ur browser
</noscript>
<button type="button" onclick="abc()">Click Me!!!</button>
</body>
</body>
</html>