Skip to content

ADD:armstrong branch #2045

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

keval06
Copy link

@keval06 keval06 commented Jul 20, 2025

🛠️ Issue (Number)

Closes #2042

Description

In the Armstrong Number Checker project, when I focus on the input field and press backspace (with either no input or just one digit), it shows a browser alert saying “Invalid input.” This alert appears unnecessarily during normal text deletion.

Expected behavior

The alert should not appear when the user is just deleting input (especially if it's empty or partially entered). Validation should only happen when there's actual input to evaluate.

Type of change

✅ Bug fix (non-breaking change which fixes an issue)
✅ New feature (non-breaking change which adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have made this from my own
    ✅ I have taken help from some online resourses
    ✅ My code follows the style guidelines of this project
    ✅ I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
    ✅ I have made corresponding changes to the documentation
  • My changes generate no new warnings
    ✅ The title of my pull request is a short description of the requested changes.

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

image image image image

Copy link

netlify bot commented Jul 20, 2025

Deploy Preview for frontendprojects ready!

Name Link
🔨 Latest commit 72f6a67
🔍 Latest deploy log https://app.netlify.com/projects/frontendprojects/deploys/687cac621f3f1d0008fe5be9
😎 Deploy Preview https://deploy-preview-2045--frontendprojects.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Invalid input alert triggered on backspace in empty or single-digit input
1 participant