var previousUserAnswerIndex = null, userAnswerIndex = null, result = 0;
var Player_chapter_14= window.Player_hwyk.extend( {
show_section_animate: function( section_to_show, direction ) {
'use strict';
this._super( section_to_show, direction );
if( this.sections[section_to_show].md && this.sections[section_to_show].md.sectionid === 'screen3b-2' ) {
var queries = window.player.activity.questions[2].queries;
var answers = [,,,];
for( var i = 0; i < 4; i++ ){
answers[i] = document.querySelector('#question3_answer_' + (i+1));
}
console.log(answers);
var bold_text = [
' A small group of people who are extremely high on the trait of extraversion This is not the best option. To know whether astrologers can describe people’s personality, you would need to study individuals from the general population who have different levels of many personality traits.',
' A small group of people who have a normal range of personality trait scores You were right to select a group of individuals from the general population who have different levels of many personality traits. However, you need to study a large group, not a small group as in this Case Study approach, in order to determine whether the idea of astrologers describing people’s personality may apply to the larger population.',
' A small group of people who are extremely low on the trait of agreeableness, and another small group of people who are extremely high on the trait of agreeableness This is not the best option, because you are only focusing on people who have extreme scores on a single personality trait. You also need to include people who have average levels of that trait, and many others. To know whether astrologers can describe people’s personality, you would need to study individuals from the general population who have different levels of many personality traits.',
' A small group of people who are extremely high on the trait of extraversion, and another small group of people who are extremely low on the trait of extraversion This is not the best option, because you are only focusing on people who have extreme scores on a single personality trait. You also need to include people who have average levels of that trait, and many others. To know whether astrologers can describe people’s personality, you would need to study individuals from the general population who have different levels of many personality traits.'
];
var normal_text = [
' A small group of people who are extremely high on the trait of extraversion This is not the best option. To know whether astrologers can describe people’s personality, you would need to study individuals from the general population who have different levels of many personality traits.',
' A small group of people who have a normal range of personality trait scores You were right to select a group of individuals from the general population who have different levels of many personality traits. However, you need to study a large group, not a small group as in this Case Study approach, in order to determine whether the idea of astrologers describing people’s personality may apply to the larger population.',
' A small group of people who are extremely low on the trait of agreeableness, and another small group of people who are extremely high on the trait of agreeableness This is not the best option, because you are only focusing on people who have extreme scores on a single personality trait. You also need to include people who have average levels of that trait, and many others. To know whether astrologers can describe people’s personality, you would need to study individuals from the general population who have different levels of many personality traits.',
' A small group of people who are extremely high on the trait of extraversion, and another small group of people who are extremely low on the trait of extraversion This is not the best option, because you are only focusing on people who have extreme scores on a single personality trait. You also need to include people who have average levels of that trait, and many others. To know whether astrologers can describe people’s personality, you would need to study individuals from the general population who have different levels of many personality traits.'
];
for( var i = 0; i < 4; i++ ){
if (queries[0].user_answer_index == i){
answers[i].innerHTML = bold_text[i];
}else{
answers[i].innerHTML = normal_text[i];
}
}
}
if( this.sections[section_to_show].md && this.sections[section_to_show].md.sectionid === 'screen8' ) {
var queries = window.player.activity.questions[6].queries;
var answers = [,,,,];
for( var i = 0; i < 5; i++ ){
answers[i] = document.querySelector('#answer_' + (i+1));
}
for( var i = 0; i < 5; i++ ){
if (queries[i].user_answer_index == 0){
answers[i].setAttribute('checked','');
}else{
answers[i].checked = false;
}
answers[i].setAttribute('disabled','');
}
}
}
} );
window.player = new Player_chapter_14();