diff --git a/Contact.css b/Contact.css index 408c3512..62afa92b 100644 --- a/Contact.css +++ b/Contact.css @@ -61,3 +61,16 @@ button:hover { color: green; } +button.buttonback { + position: absolute; + top: 10px; + left: 10px; + color: blue; + text-align: left; + vertical-align: text-top; + background-color: black; + border: none; + padding: 10px 20px; + cursor: pointer; + font-size: 16px; + } \ No newline at end of file diff --git a/Contact.html b/Contact.html index 5ccdd99f..b9b64754 100644 --- a/Contact.html +++ b/Contact.html @@ -1,3 +1,5 @@
+ + \ No newline at end of file diff --git a/Contact.js b/Contact.js index ffd0c494..a9834f57 100644 --- a/Contact.js +++ b/Contact.js @@ -1,3 +1,7 @@ +function redirectToFile() { + window.location.href = 'index.html'; // Replace 'file.html' with the actual file you want to redirect to + } + document.getElementById('contactForm').addEventListener('submit', function(event) { event.preventDefault(); const Name = document.getElementById('Name').value; diff --git a/Credits.css b/Credits.css index a42f2d7c..8db6d5f8 100644 --- a/Credits.css +++ b/Credits.css @@ -53,4 +53,5 @@ body { button:hover { background-color: #ff4a3d; - } \ No newline at end of file + } + \ No newline at end of file