Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

50Projects-HTML-CSS-JavaScript : Interactive polling app #53

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

tajulafreen
Copy link
Owner

Pull Request: Interactive Polling App

Description

This PR introduces an interactive polling app that allows users to vote on a specific color preference. The app tracks votes in real-time, displays the current results, and saves the data in local storage so that the results persist even after the page is refreshed.

Features Implemented:

  • Poll options where users can vote on their favorite color.
  • A results section that dynamically updates after each vote.
  • Real-time display of the number of votes and percentages for each color.
  • Use of local storage to save votes and persist data after page refresh.

Changes Made:

  • Added index.html with the structure of the poll and results section.
  • Created styles.css to design the polling app interface.
  • Developed script.js to handle polling logic, including voting functionality, result display, and local storage.

@tajulafreen tajulafreen merged commit 499dba1 into main Dec 25, 2024
5 checks passed
@tajulafreen tajulafreen deleted the Interactive_Polling_App branch December 25, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant