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

Leave a Review Pop-Up #30

Open
Alexandrbig1 opened this issue Sep 25, 2024 · 0 comments
Open

Leave a Review Pop-Up #30

Alexandrbig1 opened this issue Sep 25, 2024 · 0 comments
Labels
hacktoberfest This label marks contributions eligible for Hacktoberfest rewards during the open-source celebration

Comments

@Alexandrbig1
Copy link
Collaborator

Alexandrbig1 commented Sep 25, 2024

  1. Modal Title
  • The modal window should have a title that displays “LEAVE A REVIEW ABOUT OUR PUMPKINS” prominently at the top.
  1. Form Elements
  • Include a form within the modal that contains the following <input> elements:
    • Name: A text input for the user's name, with validation to ensure at least two characters using the pattern attribute.
    • Email: An email input for the user's email address, ensuring proper email formatting with the pattern attribute.
    • Phone Number: A text input for the user's phone number, using a pattern to validate valid phone number formats.
    • Message: A text area for users to leave their review or feedback.
  • Implement minimum validation for each input field using the pattern attribute to ensure users provide valid data:
    • For the name, the pattern could require at least two characters.
    • For the email, use a standard email format pattern.
    • For the phone number, implement a pattern that allows only valid phone number formats (e.g., 10 digits).
  1. Submit Button
  • Include a “Submit” button of type submit that processes the form data.
  • When the button is clicked, the modal should close, indicating to the user that their review has been submitted.
@smmckay smmckay self-assigned this Sep 28, 2024
@smmckay smmckay added the hacktoberfest This label marks contributions eligible for Hacktoberfest rewards during the open-source celebration label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest This label marks contributions eligible for Hacktoberfest rewards during the open-source celebration
Projects
Status: Backlog
Development

No branches or pull requests

2 participants