-
Notifications
You must be signed in to change notification settings - Fork 75
/
app.js
57 lines (37 loc) · 858 Bytes
/
app.js
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
// Alert
// alert("Merhaba");
// console.log(cevap);
// Confirm
// if (confirm("Emin misiniz?")){
// console.log("Silin Gitsin");
// }
// else {
// console.log("Silmeyin");
// }
// const cevap = prompt("2 + 2 = ?");
// if (cevap == "4") {
// console.log("Doğru");
// }
// else {
// console.log("Yanlış");10
// }
let value;
value = window;
value = window.location;
value = window.location.host;
value = window.location.hostname;
value = window.location.port;
value = window.location.href;
// if (confirm("Sayfa yenilensin mi?")) {
// window.location.reload();
// }
// else {
// console.log("sayfa yenilenmedi");
// }
// value = window.outerHeight;
// value = window.outerWidth;
// value = window.innerHeight;
// value = window.innerWidth;
// value = window.scrollX;
// value = window.scrollY;
console.log(value);