Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
einnemee authored Jul 8, 2023
1 parent 47cc63e commit 4f35552
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if (document.getElementById('my-work-link')) {
document.getElementById('my-work-link').addEventListener('click', () => {
document.getElementById('my-work-section').scrollIntoView({behavior: "smooth"})
})
}

0 comments on commit 4f35552

Please sign in to comment.