File tree Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,6 @@ <h6>Felipe Seabra</h6>
207207 integrity ="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy "
208208 crossorigin ="anonymous "
209209 > </ script >
210- < script src ="script .js "> </ script >
210+ < script src ="scriptButtons .js "> </ script >
211211 </ body >
212212</ html >
Original file line number Diff line number Diff line change @@ -162,6 +162,6 @@ <h6>Felipe Seabra</h6>
162162 crossorigin ="anonymous "
163163 > </ script >
164164
165- < script src ="script .js "> </ script >
165+ < script src ="scriptButtons .js "> </ script >
166166 </ body >
167167</ html >
Original file line number Diff line number Diff line change @@ -113,6 +113,6 @@ <h6>Felipe Seabra</h6>
113113 crossorigin ="anonymous "
114114 > </ script >
115115
116- < script src ="script .js "> </ script >
116+ < script src ="scriptButtons .js "> </ script >
117117 </ body >
118118</ html >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
2+ const addLinkButton = ( classe , link ) => {
3+ const buttons = document . getElementsByClassName ( classe ) ;
4+ for ( let button of buttons ) {
5+ button . href = link ;
6+ }
7+ }
8+
9+ addLinkButton ( 'link-instagram' , 'https://www.instagram.com/felipeseabradev/' ) ;
10+ addLinkButton ( 'link-linkedin' , 'https://www.linkedin.com/in/felipe-seabra/' ) ;
11+ addLinkButton ( 'link-github' , 'https://github.com/felipe-seabra' ) ;
You can’t perform that action at this time.
0 commit comments