update exercise student views
This commit is contained in:
parent
ef00467309
commit
9ddd10bb77
|
|
@ -122,8 +122,13 @@ const MatchingPairsQuestion = ({ question, onAnswer, studentAnswer, index }) =>
|
|||
|
||||
{mediaUrls.length > 0 && <MediaViewer mediaUrls={mediaUrls} />}
|
||||
|
||||
<p>{question.QUESTION.split('\n').map((line, index) => (
|
||||
<React.Fragment key={index}>
|
||||
{line}
|
||||
<br />
|
||||
</React.Fragment>
|
||||
))}</p>
|
||||
|
||||
<p>{question.QUESTION}</p>
|
||||
<div className="w-100 options-mp d-flex justify-content-between">
|
||||
{/* Bagian kiri */}
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,13 @@ const MultipleChoiceQuestion = ({ question, onAnswer, studentAnswer, index }) =>
|
|||
<div>
|
||||
{mediaUrls.length > 0 && <MediaViewer mediaUrls={mediaUrls} />}
|
||||
|
||||
<p>{question.QUESTION}</p>
|
||||
<p>{question.QUESTION.split('\n').map((line, index) => (
|
||||
<React.Fragment key={index}>
|
||||
{line}
|
||||
<br />
|
||||
</React.Fragment>
|
||||
))}</p>
|
||||
|
||||
<div className="options">
|
||||
{['OPTION_A', 'OPTION_B', 'OPTION_C', 'OPTION_D', 'OPTION_E'].map(
|
||||
(optionKey) => {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,13 @@ const TrueFalseQuestion = ({ question, onAnswer, studentAnswer, index }) => {
|
|||
<div>
|
||||
{mediaUrls.length > 0 && <MediaViewer mediaUrls={mediaUrls} />}
|
||||
|
||||
<p>{question.QUESTION}</p>
|
||||
<p>{question.QUESTION.split('\n').map((line, index) => (
|
||||
<React.Fragment key={index}>
|
||||
{line}
|
||||
<br />
|
||||
</React.Fragment>
|
||||
))}</p>
|
||||
|
||||
<div className="options-tf">
|
||||
|
||||
<div
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user