-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
83 lines (72 loc) · 1.99 KB
/
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
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
let countA=0;
// alert("double tap your fav one!");
function like()
{
document.querySelector("#heart").style.color="red";
document.querySelector("#count").innerHTML=++countA;
}
function count2()
{
document.querySelector("#heart").style.color="red";
document.querySelector("#count").innerHTML=++countA;
}
let countB=0;
// alert("double tap your fav one!");
function like2()
{
document.querySelector("#heart2").style.color="red";
document.querySelector("#count2").innerHTML=++countB;
}
function count4()
{
document.querySelector("#heart2").style.color="red";
document.querySelector("#count2").innerHTML=++countB;
}
let countC=0;
// alert("double tap your fav one!");
function like3()
{
document.querySelector("#heart3").style.color="red";
document.querySelector("#count3").innerHTML=++countC;
}
function count6()
{
document.querySelector("#heart3").style.color="red";
document.querySelector("#count3").innerHTML=++countC;
}
let countD=0;
// alert("double tap your fav one!");
function like4()
{
document.querySelector("#heart4").style.color="red";
document.querySelector("#count4").innerHTML=++countD;
}
function count8()
{
document.querySelector("#heart4").style.color="red";
document.querySelector("#count4").innerHTML=++countD;
}
let countE=0;
// alert("double tap your fav one!");
function like5()
{
document.querySelector("#heart5").style.color="red";
document.querySelector("#count5").innerHTML=++countE;
}
function count10()
{
document.querySelector("#heart5").style.color="red";
document.querySelector("#count5").innerHTML=++countE;
}
let countF=0;
// alert("double tap your fav one!");
function like6()
{
document.querySelector("#heart6").style.color="red";
document.querySelector("#count6").innerHTML=++countF;
}
function count12()
{
document.querySelector("#heart6").style.color="red";
document.querySelector("#count6").innerHTML=++countF;
}