- {exercises.map(exercise => {
+ {currentExercises.map(exercise => {
let beforeParentheses = ''
let afterParentheses = ''
@@ -51,12 +87,23 @@ function DoActivity() {
return (
{exercise.index + 1} Exercise
- {beforeParentheses}
-
- {afterParentheses}
+
+ {beforeParentheses}
+ { setAnswer(e.target.value) }} />
+ {afterParentheses}
+
+
+ {isLastPage === false
+ ?
+ : }
+
+ Page {currentPage} of {Math.ceil(exercises.length / pageSize)}
)
- }
- )}
+ })}
+ {/*
+
+
+
*/}
)
}