diff --git a/app.js b/app.js new file mode 100644 index 0000000..70392cb --- /dev/null +++ b/app.js @@ -0,0 +1,23 @@ +// Smooth scroll to portfolio section when link is clicked +document.querySelector("#websites-link").addEventListener("click", function(event){ + event.preventDefault() + setTimeout(() => { + document.querySelector("#portfolio").scrollIntoView({ behavior: "smooth" }); + }, 150); +}); + +// Smooth scroll to contact form when button is clicked +document.querySelector("#contact-button").addEventListener("click", function(event){ + event.preventDefault() + setTimeout(() => { + document.querySelector("#contact").scrollIntoView({ behavior: "smooth" }); + }, 150); +}); + +// Smooth scroll to experience section when link is clicked +document.querySelector("#experience-link").addEventListener("click", function(event){ + event.preventDefault() + setTimeout(() => { + document.querySelector("#experience").scrollIntoView({ behavior: "smooth" }); + }, 150); +}); \ No newline at end of file diff --git a/index.html b/index.html index 6ca3649..306bec3 100644 --- a/index.html +++ b/index.html @@ -13,15 +13,15 @@ Mike Rockwell

Hi, I'm Mike

-

I make websites.

+

I make websites.

Based in Upstate New York, I'm a designer that builds clean, responsive websites to help businesses and individuals reach their audience online.

-

I have over seven years of experience working in a distributed work environment, supporting software used by millions of monthly active users.

-
Contact Me
+

I have over seven years of experience working in a distributed work environment, supporting software used by millions of monthly active users.

+
Contact Me
@@ -90,5 +90,6 @@

Copyright © 2018–2025 Mike Rockwell

View source on Gitea

+