mellow-design

bydipaksingh dipaksinghrajput

Create a simple IPL voting website. Requirements: - Clean modern design with dark blue gradient background - Center card layout with title "IPL Match Voting" - Two buttons: 1. Team A 2. Team B - Show live voting percentage for both teams - Show current winner (Team A or Team B) Functionality: - When user clicks a button, vote count increases - Calculate and display percentage for both teams - Store votes using browser localStorage - Prevent multiple votes from same user using localStorage - Disable buttons after voting UI: - Rounded buttons - Smooth hover effects - Mobile responsive Technical: - Use HTML, CSS, and JavaScript only - No login required - All code in a single file - Include comments in code for understanding virat vot ret hart dhomi vot yello hart and 2 team vot bhi ho Output: - Give complete working code (HTML file)

Home
Home

Comments (0)

No comments yet. Be the first!

Project Tasks5

#1

Implement Theme and Structure

To Do

As a Frontend Developer, I want to implement the base theme and structure for the Mellow-Design IPL voting website so that all pages look exactly identical to the mock-design pages. This includes setting up the dark blue gradient background (#001f3f to #005099), color palette (Surface: #005099, Text: #FFFFFF, Accent: #0073e6, Muted: #555555), typography, global CSS styles, and removing any pages that are not needed. This task is the foundation for all other UI tasks.

AI 85%
Human 15%
High Priority
1 day
Frontend Developer
#2

Build Home Voting Page

To Do

As a user, I want to be able to use the frontend Home page to view the IPL Match Voting card, see Team A and Team B voting buttons, view live voting percentages, and see the current winner. Implement the Home page based on the existing JSX design (Home v2). The page should feature: center card layout with title 'IPL Match Voting', two rounded vote buttons for Team A and Team B, a live horizontal voting bar animation using accent color (#0073e6) for Team A and (#ffcc00) for Team B, real-time percentage display, and a winner highlight with glowing underline pulse effect. Buttons should be disabled after voting. This page is the single entry point per the user flow: Home → Browse Teams → Cast Vote → View Percentages → View Winner.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
Frontend Developer
#3

Implement Voting Logic

To Do

As a user, I want to be able to use the frontend voting functionality so that my vote is recorded, percentages update in real-time, and I cannot vote more than once. Implement all client-side JavaScript logic: vote counting, percentage calculation, localStorage-based vote tracking to prevent duplicate votes, button disable state after voting, ripple animation on button click, and dynamic winner determination (Team A / Team B / Tie). All logic must be contained within the single HTML file as per the tech stack constraint. Supports up to 10,000 votes without performance degradation.

Depends on:#2
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
Frontend Developer
#4

Add Animations and Micro-Interactions

To Do

As a user, I want to experience smooth animations and micro-interactions on the IPL voting page so that the interface feels dynamic and engaging. Implement: (1) background gradient animation that slowly shifts between #001f3f and #005099 for a 'breathing' effect, (2) live voting bar animation that dynamically fills in real-time with accent colors, (3) smooth hover transition on buttons from #005099 to #0073e6, (4) ripple animation spreading outward from click point on button press, (5) glowing pulsing underline effect on the winner's name. All animations must be CSS3-based with no external libraries.

Depends on:#3#2
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1 day
Frontend Developer
#5

Ensure Responsiveness and Accessibility

To Do

As a user, I want to be able to access the IPL voting website on both desktop and mobile devices with full accessibility support. Ensure the layout is fully responsive across screen widths from 320px to 1920px. Implement WCAG 2.1 AA accessibility standards: proper contrast ratios, keyboard navigability, ARIA labels for voting buttons and result regions, focus states, and screen-reader-friendly markup. Validate mobile responsiveness on common breakpoints. Ensure page loads within 2 seconds on a standard 4G connection.

Depends on:#2#4#3
Waiting for dependencies
AI 75%
Human 25%
Medium Priority
1 day
Frontend Developer
Home design preview
Home: View Voting Card
Home: Browse Teams
Home: Cast Vote
Home: View Percentages
Home: View Winner