-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsb.js
41 lines (32 loc) · 1.26 KB
/
sb.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
const skillscontentEl = document.getElementById("Skillscontent");
const educontentEl = document.getElementById("Educationcontent");
const expcontentEl = document.getElementById("Experiencecontent");
educontentEl.style.display="none";
expcontentEl.style.display="none";
const skills = document.getElementById("skills");
const edu = document.getElementById("edu");
const exp = document.getElementById("exp");
const showskills= () => {
educontentEl.style.display="none";
expcontentEl.style.display="none";
skillscontentEl.style.display="contents";
skills.setAttribute("class","tabs active-link");
edu.setAttribute("class","tabs");
exp.setAttribute("class","tabs");
}
const showedu = () => {
educontentEl.style.display="contents";
expcontentEl.style.display="none";
skillscontentEl.style.display="none";
edu.setAttribute("class","tabs active-link");
skills.setAttribute("class","tabs");
exp.setAttribute("class","tabs");
}
const showexp = () => {
educontentEl.style.display="none";
expcontentEl.style.display="contents";
skillscontentEl.style.display="none";
exp.setAttribute("class","tabs active-link");
edu.setAttribute("class","tabs");
skills.setAttribute("class","tabs");
}