From fff00567eea5d5135929a45ec4937126d68093d4 Mon Sep 17 00:00:00 2001 From: njangid22 Date: Sun, 8 Oct 2023 15:52:44 +0530 Subject: [PATCH] Add backend functionality i added feature to submit or submission with email just change the email in server.js --- client.js | 16 ++++++++++++++++ index.html | 21 ++++++++++++++++++++- server.js | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 client.js create mode 100644 server.js diff --git a/client.js b/client.js new file mode 100644 index 0000000..b053090 --- /dev/null +++ b/client.js @@ -0,0 +1,16 @@ + +function handleButtonClick() { + alert('Button clicked!'); // Display an alert when the button is clicked + } + + // Add an event listener to a button element + const buttonElement = document.getElementById('myButton'); + if (buttonElement) { + buttonElement.addEventListener('click', handleButtonClick); + } + + // Other client-side JavaScript code goes here + // ... + + console.log('Client-side JavaScript code loaded.'); + \ No newline at end of file diff --git a/index.html b/index.html index b7e5d91..2379325 100644 --- a/index.html +++ b/index.html @@ -11,11 +11,12 @@ integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> CodeZee - Heaven For Coders + - +