Knowledge Question Setup
This commit is contained in:
parent
1e8516e254
commit
861a3bad6a
4 changed files with 21 additions and 7 deletions
|
|
@ -34,6 +34,8 @@ export class Intro {
|
|||
fb9: HTMLTextAreaElement;
|
||||
fb10: HTMLTextAreaElement;
|
||||
|
||||
k1: HTMLTextAreaElement;
|
||||
|
||||
errorRef: HTMLElement;
|
||||
|
||||
constructor() {
|
||||
|
|
@ -65,6 +67,8 @@ export class Intro {
|
|||
this.fb9 = document.querySelector('#fb-9');
|
||||
this.fb10 = document.querySelector('#fb-10');
|
||||
|
||||
this.k1 = document.querySelector('#k-1');
|
||||
|
||||
this.errorRef = document.querySelector('#intro-error');
|
||||
|
||||
this.nextButton.addEventListener('click', () => this.onNextClick());
|
||||
|
|
@ -192,7 +196,7 @@ export class Intro {
|
|||
}
|
||||
|
||||
private sendKnowledgeQuestionAnswers() {
|
||||
const answers = [];
|
||||
const answers = [this.k1.value];
|
||||
|
||||
logger.logQuestions(answers, true);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue