diff --git a/main.js b/main.js new file mode 100644 index 0000000..793e570 --- /dev/null +++ b/main.js @@ -0,0 +1,7 @@ +const button = document.getElementById("submit") + +button.addEventListener("click", () =>{ + button.textContent = "Submitted"; + window.location.href = "mainpage.html" +}); + diff --git a/mainpage.html b/mainpage.html new file mode 100644 index 0000000..ba57731 --- /dev/null +++ b/mainpage.html @@ -0,0 +1,17 @@ + + +
+ + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Quidem, sit voluptates laboriosam, a doloribus explicabo adipisci culpa nisi architecto itaque soluta magni est quos commodi iure, consectetur accusantium asperiores blanditiis.
+ + + + \ No newline at end of file diff --git a/sample.html b/sample.html index ca056e4..3ce15f4 100644 --- a/sample.html +++ b/sample.html @@ -1,17 +1,29 @@ -