- 
  Notifications
 You must be signed in to change notification settings 
- Fork 10
added counter app js project #14
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
Conversation
Hi @sandeepMcodeX , there is no Readme.md file in the folder
Also please add your project in root Readme.md too and have a look at the issues identified by Copilot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new counter application project written in JavaScript. The application provides a simple interface for incrementing and decrementing a counter value with user-defined step amounts.
- Creates a functional counter app with increment/decrement buttons
- Implements custom step value input for flexible counting
- Includes reset functionality to restore default values
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description | 
|---|---|
| 30-counter-app/index.html | HTML structure with counter display, control buttons, and step input | 
| 30-counter-app/script.js | JavaScript logic for counter operations and event handling | 
| 30-counter-app/style.css | CSS styling for the counter interface with button animations | 
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
 
 
 
 Copilot
AI
 
 
 
 Oct 17, 2025 
 
 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parseInt() returns NaN when the input is invalid or empty, which will cause the counter to display NaN. Consider using parseInt() with a fallback value or validating the input first.
 
 
 
 Copilot
AI
 
 
 
 Oct 17, 2025 
 
 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parseInt() returns NaN when the input is invalid or empty, which will cause the counter to display NaN. Consider using parseInt() with a fallback value or validating the input first.
 
 
 
 Copilot
AI
 
 
 
 Oct 17, 2025 
 
 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent box-shadow colors for the reset button. The webkit and moz prefixes use #e62222 while the standard property uses #b20000, creating visual inconsistencies across browsers.
 
 
 
 Copilot
AI
 
 
 
 Oct 17, 2025 
 
 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent box-shadow color for the reset button active state. The colors should match the inactive state pattern or use consistent colors across all three declarations.
No description provided.