-
Notifications
You must be signed in to change notification settings - Fork 0
/
portfolio.js
35 lines (34 loc) · 1.49 KB
/
portfolio.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
var typed=new Typed(".text", {
strings:[" Coding Enthusiast"," Web Developer"],
typeSpeed:80,
backSpeed:80,
backDelay:1000,
loop:true
});
document.getElementById("linkedin").onclick=function(){
window.location.href="https://www.linkedin.com/in/aditya-dwivedi-497090227?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=android_app"
}
document.getElementById("github").onclick=function(){
window.location.href="https://github.com/AdityaDwivedi1611"
}
document.getElementById("codingninja").onclick=function(){
window.location.href="https://www.codingninjas.com/studio/profile/ae3452f7-71a7-4107-a8eb-a55f41d58af2"
}
document.getElementById("linkedin2").onclick=function(){
window.location.href="https://www.linkedin.com/in/aditya-dwivedi-497090227?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=android_app"
}
document.getElementById("github2").onclick=function(){
window.location.href="https://github.com/AdityaDwivedi1611"
}
document.getElementById("codingninja2").onclick=function(){
window.location.href="https://www.codingninjas.com/studio/profile/ae3452f7-71a7-4107-a8eb-a55f41d58af2"
}
function toggleVisibility(event) {
event.preventDefault();
var additionalContent = document.getElementById("additionalContent");
if (additionalContent.style.display === "none") {
additionalContent.style.display = "block";
} else {
additionalContent.style.display = "none";
}
}