-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
76 lines (64 loc) · 3.12 KB
/
script.js
File metadata and controls
76 lines (64 loc) · 3.12 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
function func1() {
document.getElementById('star01').style.color = 'blue';
document.getElementById('star02').style.color = 'black';
document.getElementById('star03').style.color = 'black';
document.getElementById('star04').style.color = 'black';
document.getElementById('star05').style.color = 'black';
document.getElementById('wsh').innerText='Thanks for rating us 1 star. We will try to improve and get another four stars also.'
}
function func2() {
document.getElementById('star01').style.color = 'blue';
document.getElementById('star02').style.color = 'blue';
document.getElementById('star03').style.color = 'black';
document.getElementById('star04').style.color = 'black';
document.getElementById('star05').style.color = 'black';
document.getElementById('wsh').innerText='Thanks for rating us 2 stars. We will try to improve and get another three stars also.'
}
function func3() {
document.getElementById('star01').style.color = 'blue';
document.getElementById('star02').style.color = 'blue';
document.getElementById('star03').style.color = 'blue';
document.getElementById('star04').style.color = 'black';
document.getElementById('star05').style.color = 'black';
document.getElementById('wsh').innerText='Thanks for rating us 3 stars. We will try to improve and get another two stars also.'
}
function func4() {
document.getElementById('star01').style.color = 'blue';
document.getElementById('star02').style.color = 'blue';
document.getElementById('star03').style.color = 'blue';
document.getElementById('star04').style.color = 'blue';
document.getElementById('star05').style.color = 'black';
document.getElementById('wsh').innerText='Thanks for rating us 4 stars. We will try to improve and get another one star also.'
}
function func5() {
document.getElementById('star01').style.color = 'blue';
document.getElementById('star02').style.color = 'blue';
document.getElementById('star03').style.color = 'blue';
document.getElementById('star04').style.color = 'blue';
document.getElementById('star05').style.color = 'blue';
document.getElementById('wsh').innerText='Thanks for rating us 5 stars.'
}
setInterval(() => {
document.getElementsByTagName('h2')[0].innerHTML='About Sushant Manjunath Naik'
}, 2000);
setInterval(() => {
document.getElementsByTagName('h2')[0].innerHTML='About Sushant Naik'
}, 3000);
// function otpt() {
// document.getElementsByName('star')[0].innerHTML=parseInt(star01.value)+parseInt(star02.value)+parseInt(star03.value)+parseInt(star04.value)+parseInt(star05.value)
// }
function pp() {
alert('Thanks for Rating us.Please send your feedback via mail after clicking "OK" here.')
}
function kp() {
alert("Details still didn't uploaded. You can report us via email.")
}
function mrd(){
document.getElementById('mrd').innerHTML=document.getElementById('klm').innerHTML
}
function play() {
document.getElementById('bio').innerHTML=document.getElementById('vcsv').innerHTML
}
function main(){
document.getElementsByTagName('header')[0].innerHTML()=document.getElementById('main').innerHTML()
}