From d1164893f79e704dcd8cb9308be39a9c88025398 Mon Sep 17 00:00:00 2001 From: rutika kengal Date: Wed, 2 Oct 2024 12:49:37 +0530 Subject: [PATCH 01/20] Improved singup form --- index.html | 13 +++++++++++++ styles.css | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/index.html b/index.html index 0000a47..8644675 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,7 @@

Waste Management

  • Upload
  • Features
  • Feedback
  • +
  • Signup
  • Contact
  • @@ -65,6 +66,17 @@

    Your Feedback

    + +
    +

    Sign Up

    +
    + + + + + +
    +
    + \ No newline at end of file diff --git a/script.js b/script.js index 9815e7d..a9d62a9 100644 --- a/script.js +++ b/script.js @@ -19,3 +19,30 @@ uploadButton.addEventListener('click', () => { }) .catch(error => console.error(error)); }); +document.querySelectorAll('.emoji').forEach(emoji => { + emoji.addEventListener('click', function() { + const ratingValue = this.getAttribute('data-value'); + const message = getRatingMessage(ratingValue); + document.getElementById('rating-message').textContent = message; + + // Optionally, you can disable the emojis after selection + document.querySelectorAll('.emoji').forEach(e => e.style.pointerEvents = 'none'); + }); +}); + +function getRatingMessage(value) { + switch(value) { + case '1': + return "We're sorry to hear that!"; + case '2': + return "Thanks for your feedback!"; + case '3': + return "We appreciate your input!"; + case '4': + return "Glad you liked it!"; + case '5': + return "Thank you for the great rating!"; + default: + return ""; + } +} diff --git a/styles.css b/styles.css index 8a64f08..3dc724f 100644 --- a/styles.css +++ b/styles.css @@ -218,3 +218,31 @@ main { margin: 0 10px; text-decoration: none; } +.rate-us { + text-align: center; + padding: 20px; + background-color: teal; + border-top: 1px solid #ddd; +} + +.emoji-container { + display: flex; + justify-content: center; + margin: 10px 0; +} + +.emoji { + font-size: 2rem; + cursor: pointer; + margin: 0 10px; + transition: transform 0.2s; +} + +.emoji:hover { + transform: scale(1.2); +} + +#rating-message { + font-size: 1.2rem; + margin-top: 10px; +} From 4177fa31e26524baa8d40d674ab29832dd08a249 Mon Sep 17 00:00:00 2001 From: Vibha Date: Fri, 4 Oct 2024 01:35:31 +0530 Subject: [PATCH 09/20] added --- WasteManagment | 1 + 1 file changed, 1 insertion(+) create mode 160000 WasteManagment diff --git a/WasteManagment b/WasteManagment new file mode 160000 index 0000000..6be9c8b --- /dev/null +++ b/WasteManagment @@ -0,0 +1 @@ +Subproject commit 6be9c8b54ec25192806f916f79e586ae57eef04b From b73dec38a07ff0878791943a81cb6e53ac67aae2 Mon Sep 17 00:00:00 2001 From: shreyad2806 Date: Fri, 4 Oct 2024 02:23:32 +0530 Subject: [PATCH 10/20] Logo added --- index.html | 7 ++++++- logo.png | Bin 0 -> 48458 bytes styles.css | 18 +++++++++++++++++- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 logo.png diff --git a/index.html b/index.html index 61148a8..86a001b 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,12 @@
    -

    Waste Management

    + + +