File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
const sidebarToggle = document . querySelector ( ".sidebar-toggle" ) ;
2
2
const sideBar = document . querySelector ( ".sidebar" ) ;
3
3
const closeBtn = document . querySelector ( ".close-btn" ) ;
4
-
4
+ const links = document . querySelector ( ".links" ) ;
5
+ links . addEventListener ( "click" , ( e ) => {
6
+ e . preventDefault ( ) ;
7
+ } )
5
8
sidebarToggle . addEventListener ( "click" , ( ) => {
6
9
sideBar . classList . toggle ( "show-sidebar" ) ;
7
10
} )
Original file line number Diff line number Diff line change 41
41
<!-- social media -->
42
42
< ul class ="social-icons ">
43
43
< li >
44
- < a href ="https://www.twitter .com ">
44
+ < a href ="https://www.facebook .com ">
45
45
< i class ="fab fa-facebook "> </ i >
46
46
</ a >
47
47
</ li >
51
51
</ a >
52
52
</ li >
53
53
< li >
54
- < a href ="https://www.twitter.com ">
54
+ < a href ="https://www.behance.net ">
55
55
< i class ="fab fa-behance "> </ i >
56
56
</ a >
57
57
</ li >
58
58
< li >
59
- < a href ="https://www.twitter .com ">
59
+ < a href ="https://www.linkedin .com ">
60
60
< i class ="fab fa-linkedin "> </ i >
61
61
</ a >
62
62
</ li >
63
63
< li >
64
- < a href ="https://www.twitter .com ">
64
+ < a href ="https://www.sketch .com ">
65
65
< i class ="fab fa-sketch "> </ i >
66
66
</ a >
67
67
</ li >
You can’t perform that action at this time.
0 commit comments