Coffee-Code-Philly-Accelerator / coffee_and_code_philly_dot_com

3 stars 3 forks source link

Validate onboarding quiz answers #32

Closed MosesSupposes closed 1 month ago

MosesSupposes commented 1 month ago

I added two simple validations to the onboarding quiz before inviting the user to our Meetup group (and eventually Discord server). The first validation ensures that the user has an interest in joining our meetup. The second validation ensures that the user agrees to our code of conduct. Upon successful validation, the user gets presented with our links.

Mind you, there are a couple minor bugs with this current implementation; I will squash them in upcoming PRs. The most notable bug is that you can select "next question" even if you didn't select an answer if you've answered at least one question already.

In a future feature branch, I would like to confirm the user's email address to ensure that they are a human before inviting them to our group.

P.S. I just realized the PR template is not working because it's named incorrectly. Please take a look at #33 to resolve this.