anmode / grabtern-frontend

Connecting the mentors and creating a network
https://grabtern.in/
MIT License
26 stars 49 forks source link

🚀 [Feature Request] -Adding a Form for Booking Session with the Mentors at Grabtern #897

Open IkkiOcean opened 2 days ago

IkkiOcean commented 2 days ago

Is your feature request related to a problem ? Please describe. ✍️

This issue focuses on implementing a user-friendly form that allows users to book sessions with mentors on the Grabtern platform. The form should collect essential information from the users to facilitate scheduling and ensure a smooth booking process.

Describe briefly how you would implement this enhancement.

Some steps to implement this enhancement-
1. Design the Form: Create a user-friendly form layout using HTML/CSS. The form should include fields for the user's name, email address, preferred session date and time, selected mentor, and an optional comments section. Use frameworks like Bootstrap or Tailwind CSS to ensure responsiveness and a modern design.
2. Frontend Development: Utilize React.js (or any preferred frontend framework) to build the form component. Implement state management to handle user input. For example, use the useState hook to track form values and onChange events to update the state.
3. Form Validation: Implement client-side validation using libraries like Formik or Yup. Ensure that all fields are required, and validate the email format. Display appropriate error messages if validation fails.
4. Submission Handling: On form submission, prevent the default behavior and use fetch or axios to send a POST request to the backend with the form data. Display a confirmation message to the user upon successful submission.

Additional context or screenshots

GSSOC-ext and hacktoberfest

Are you contributing for a program?

Other

Code of Conduct

github-actions[bot] commented 2 days ago

Hello @IkkiOcean! Thank you for raising this issue. Please make sure to follow our Contributing Guidelines. Don't forget to ⭐ our Grabtern-Frontend.

Our review team will carefully assess the issue and reach out to you soon! We appreciate your patience!