Skip to content
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

enhanced validation #12

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

enhanced validation #12

wants to merge 1 commit into from

Conversation

duggal1
Copy link

@duggal1 duggal1 commented Nov 5, 2024

   THINGS I HAVE CHANGED 
     .       Minimum and maximum length validation (3-100 characters).
•	Restricted to alphanumeric characters and basic punctuation
•	Length constraint of 20-500 characters.
•	Restriction against offensive language using a simple regex; you can expand the list as necessary.
•	Restricted to alphabetic characters (no numbers or special characters).
•	Length constraint of 3-20 characters
•	Ensures the URL is valid and points to an image resource (uses async fetch with HEAD to check content-type).
•	Pitch:
•	Requires at least 10 characters.

Copy link

vercel bot commented Nov 5, 2024

@Harshitduggal1 is attempting to deploy a commit to the JS Mastery Pro Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant