-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
cssWorking on styling on websiteWorking on styling on websiteenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest
Description
🖱️ Feature Request: Add Active State Feedback to Control Buttons
Description:
When a user clicks on the Start, Pause, or Reset buttons,
there’s currently no visible feedback indicating that the button has been pressed.
This makes the interface feel slightly unresponsive.
To improve the user experience, we need to add :active
pseudo-class styles to all control buttons, giving immediate visual confirmation when clicked.
🎯 Requirements:
- Use CSS to visually indicate the button’s
:active(pressed) state. - When pressed and held, buttons should show one or more of the following effects:
- A slightly darker
background-color. - A small downward shift using
transform: translateY(1px);. - Remove or reduce the
box-shadowto simulate a "pushed-in" effect. - Apply these styles consistently to all major control buttons (Start, Pause, Reset, etc.).
💡 Implementation Hints:
- Locate the button styles in your CSS (likely in
style.css). - Add a
:activepseudo-class for each button style (e.g.,.btn:activeor#start:active). - Use smooth transitions (e.g.,
transition: all 0.1s ease;) for polished feedback. - Optional: Add a subtle click sound or visual ripple for enhanced interaction feedback.
🧩 Files Likely Involved:
style.css— define:activestyles for all control buttons.- HTML structure containing
#start,#pause, and#resetbuttons. - JavaScript files only if additional dynamic visual effects are added (optional).
✅ Acceptance Criteria:
- All control buttons visually respond when pressed.
- The feedback clearly indicates an active (clicked) state.
- Button returns to normal when released.
- Visual consistency across all major control buttons.
Enhancement Type: UI / UX Feedback
Component: Control Buttons, CSS Styling
Metadata
Metadata
Assignees
Labels
cssWorking on styling on websiteWorking on styling on websiteenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest