Skip to content

Conversation

@Amnoor
Copy link
Owner

@Amnoor Amnoor commented Oct 30, 2025

Release v1.0.0 — Add Counter Program

Summary:

Introduces a minimal, dependency-free web counter application and accompanying documentation for the v1.0.0 release. Adds the UI, behavior, responsive styling, and README; includes small bugfixes for an HTML title typo and a CSS selector.

Files Changed:

  • style (Folder, Added):
    • style.css (File, Added)
  • counter-program.js (File, Added)
  • index.html (File, Added)
  • LICENSE (File, Unchanged)
  • README.md (File, Added)

Key Changes / Key Features:

  • Add functional counter UI:
    • index.html: numeric display and three buttons (Decrease, Reset, Increase).
    • counter-program.js: simple state management (count variable) and onclick handlers to decrement, reset, and increment the displayed value.
  • Styling and responsiveness:
    • style/style.css: layout, large numeric font, button styles, and a media query for smaller viewports.
    • Fixed hover selector bug in media query (buttun:hover → button:hover).
  • Documentation:
    • README.md: project overview, usage instructions, contributing guidance, and release/version notes.
  • Minor fixes:
    • Corrected HTML title typo ("Cunter Program" → "Counter Program").

What To Verify:

  • Functionality:
    • Open index.html in a browser and confirm Increase increments by 1, Decrease decrements by 1, and Reset sets the display to 0.
  • UI/Styling:
    • Confirm the counter is large and centered on desktop.
    • Resize to a narrow viewport and verify responsive font scaling and button sizes.
    • Hover buttons to confirm hover styles apply in both desktop and mobile media-query conditions.
  • Metadata and docs:
    • Confirm browser tab title shows "Counter Program".
    • Open README.md on GitHub or locally to verify formatting and links render correctly.
  • Minimal regression check:
    • Ensure no console errors on page load (all referenced element IDs present and script loads).

@Amnoor Amnoor closed this Oct 30, 2025
@Amnoor Amnoor deleted the release/v1.0.0 branch October 31, 2025 11:53
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.

2 participants