diff --git a/index.html b/index.html index d6cf8ee..3dd3009 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@

Welcome to Your Product

Transform Your Digital Experience

Join thousands of users who trust us with their digital journey.

- +
@@ -42,5 +42,7 @@

Feature Three

© 2024 Your Company. All Rights Reserved.

+ + diff --git a/page1.html b/page1.html new file mode 100644 index 0000000..4c69a10 --- /dev/null +++ b/page1.html @@ -0,0 +1,87 @@ + + + + + + iPhone Product Page + + + + +
+

iPhone

+
+ +
+
+

Experience the Future

+

The best iPhone yet.

+
+
+ +
+
+

Stunning Display

+

Enjoy the best display ever on an iPhone.

+
+
+

Advanced Camera

+

Capture your moments with the highest quality.

+
+
+

Powerful Performance

+

Experience unmatched performance and speed.

+
+
+ + + + + \ No newline at end of file diff --git a/script.js b/script.js index 21e1957..7630a06 100644 --- a/script.js +++ b/script.js @@ -1,9 +1,9 @@ -// Alert on Button Click in Hero Section +// Redirect to another page after button click in hero section document.addEventListener('DOMContentLoaded', () => { const startButton = document.querySelector('.btn'); startButton.addEventListener('click', () => { - alert('Welcome! Thanks for getting started with us.'); + window.location.href = 'page1.html'; }); });