Show questions with corresponding answers for question-block 'about you'
Value proposition
As a user
I want to see a form with the questions 'about you' (me) with corresponding answer possibilities
So that I get an answer of how many days per year/lifetime I am menstruating
Description
Acceptance criteria
INPUT
[x] The page shows a form with 4 questions
[x] The form shows question for 1. actual age
[x] The form accepts age from 8 to 100
[x] The form shows question for 2. age of first menstruation
[x] The form accepts age from 7 to 99
[x] The form shows question for 3. how often menstruation starts (every...days)
[x] The form accepts days from 1 to 60
[x] The form shows question for 4. how long menstruation lasts
[x] The form accepts days from 1 to 15
[x] To see the summary of the answers, a submit button can be clicked
OUTPUT
[x] The input values are used to calculate the output
[x] The first output shows 1. the amount of menstruation days within one year, 2. the amount of menstruation days per menstruation-life.
[x] The page shows an infotext with the content "Auch in Periotopia würdest du menstruieren. Ein paar Dinge wären aber anders..."
[x] To get a calculated answer, all questions must be answered
[x] When a question is not answered an alert appears with the hint, that all fields must be filled out
[x] The page shows a title
Tasks
[x] Create a branch
[x] Create FormComponent with a form
[x] Render FormComponent
[x] Create QuestionComponent with questions
[x] Render QuestionComponent
[x] Make all answers mandatory and create alert if that is not the case
[x] Create SubmitButtonComponent
[x] Create function for submit-button
[x] Render SubmitButtonComponent
[x] Create IndividuelAnswerComponent in relation to the answers
[x] Create function to calculate results of the answer
[x] Render IndividuelAnswerComponent in relation to the answers
Show questions with corresponding answers for question-block 'about you'
Value proposition
As a user I want to see a form with the questions 'about you' (me) with corresponding answer possibilities So that I get an answer of how many days per year/lifetime I am menstruating
Description
Acceptance criteria
INPUT
OUTPUT
Tasks
FormComponent
with a formFormComponent
QuestionComponent
with questionsQuestionComponent
alert
if that is not the caseSubmitButtonComponent
SubmitButtonComponent
IndividuelAnswerComponent
in relation to the answersIndividuelAnswerComponent
in relation to the answers