diff --git a/public/quizimages/advanced/question1.jpg b/public/quizimages/advanced/question1.jpg new file mode 100644 index 0000000..1044f7c Binary files /dev/null and b/public/quizimages/advanced/question1.jpg differ diff --git a/public/quizimages/advanced/question10.jpg b/public/quizimages/advanced/question10.jpg new file mode 100644 index 0000000..091b8df Binary files /dev/null and b/public/quizimages/advanced/question10.jpg differ diff --git a/public/quizimages/advanced/question11.jpg b/public/quizimages/advanced/question11.jpg new file mode 100644 index 0000000..1bb307f Binary files /dev/null and b/public/quizimages/advanced/question11.jpg differ diff --git a/public/quizimages/advanced/question12.jpg b/public/quizimages/advanced/question12.jpg new file mode 100644 index 0000000..4248c74 Binary files /dev/null and b/public/quizimages/advanced/question12.jpg differ diff --git a/public/quizimages/advanced/question13.jpg b/public/quizimages/advanced/question13.jpg new file mode 100644 index 0000000..1e1a0b8 Binary files /dev/null and b/public/quizimages/advanced/question13.jpg differ diff --git a/public/quizimages/advanced/question14.jpg b/public/quizimages/advanced/question14.jpg new file mode 100644 index 0000000..f9dc3de Binary files /dev/null and b/public/quizimages/advanced/question14.jpg differ diff --git a/public/quizimages/advanced/question15.jpg b/public/quizimages/advanced/question15.jpg new file mode 100644 index 0000000..4199607 Binary files /dev/null and b/public/quizimages/advanced/question15.jpg differ diff --git a/public/quizimages/advanced/question16.jpg b/public/quizimages/advanced/question16.jpg new file mode 100644 index 0000000..55e76b6 Binary files /dev/null and b/public/quizimages/advanced/question16.jpg differ diff --git a/public/quizimages/advanced/question17.jpg b/public/quizimages/advanced/question17.jpg new file mode 100644 index 0000000..8e89193 Binary files /dev/null and b/public/quizimages/advanced/question17.jpg differ diff --git a/public/quizimages/advanced/question18.jpg b/public/quizimages/advanced/question18.jpg new file mode 100644 index 0000000..f51ccfa Binary files /dev/null and b/public/quizimages/advanced/question18.jpg differ diff --git a/public/quizimages/advanced/question19.jpg b/public/quizimages/advanced/question19.jpg new file mode 100644 index 0000000..a6a4561 Binary files /dev/null and b/public/quizimages/advanced/question19.jpg differ diff --git a/public/quizimages/advanced/question2.jpg b/public/quizimages/advanced/question2.jpg new file mode 100644 index 0000000..f873073 Binary files /dev/null and b/public/quizimages/advanced/question2.jpg differ diff --git a/public/quizimages/advanced/question20.jpg b/public/quizimages/advanced/question20.jpg new file mode 100644 index 0000000..ce127dd Binary files /dev/null and b/public/quizimages/advanced/question20.jpg differ diff --git a/public/quizimages/advanced/question3.jpg b/public/quizimages/advanced/question3.jpg new file mode 100644 index 0000000..5d13fce Binary files /dev/null and b/public/quizimages/advanced/question3.jpg differ diff --git a/public/quizimages/advanced/question4.jpg b/public/quizimages/advanced/question4.jpg new file mode 100644 index 0000000..cf6c6b9 Binary files /dev/null and b/public/quizimages/advanced/question4.jpg differ diff --git a/public/quizimages/advanced/question5.jpg b/public/quizimages/advanced/question5.jpg new file mode 100644 index 0000000..1f838ce Binary files /dev/null and b/public/quizimages/advanced/question5.jpg differ diff --git a/public/quizimages/advanced/question6.jpg b/public/quizimages/advanced/question6.jpg new file mode 100644 index 0000000..693f246 Binary files /dev/null and b/public/quizimages/advanced/question6.jpg differ diff --git a/public/quizimages/advanced/question7.jpg b/public/quizimages/advanced/question7.jpg new file mode 100644 index 0000000..96a2392 Binary files /dev/null and b/public/quizimages/advanced/question7.jpg differ diff --git a/public/quizimages/advanced/question8.jpg b/public/quizimages/advanced/question8.jpg new file mode 100644 index 0000000..d491a69 Binary files /dev/null and b/public/quizimages/advanced/question8.jpg differ diff --git a/public/quizimages/advanced/question9.jpg b/public/quizimages/advanced/question9.jpg new file mode 100644 index 0000000..9126fc3 Binary files /dev/null and b/public/quizimages/advanced/question9.jpg differ diff --git a/public/quizimages/question1.jpg b/public/quizimages/easy/question1.jpg similarity index 100% rename from public/quizimages/question1.jpg rename to public/quizimages/easy/question1.jpg diff --git a/public/quizimages/easy/question10.jpg b/public/quizimages/easy/question10.jpg new file mode 100644 index 0000000..95ddc1a Binary files /dev/null and b/public/quizimages/easy/question10.jpg differ diff --git a/public/quizimages/easy/question11.jpg b/public/quizimages/easy/question11.jpg new file mode 100644 index 0000000..000e920 Binary files /dev/null and b/public/quizimages/easy/question11.jpg differ diff --git a/public/quizimages/easy/question12.jpg b/public/quizimages/easy/question12.jpg new file mode 100644 index 0000000..c83ab06 Binary files /dev/null and b/public/quizimages/easy/question12.jpg differ diff --git a/public/quizimages/easy/question13.jpg b/public/quizimages/easy/question13.jpg new file mode 100644 index 0000000..dc070b0 Binary files /dev/null and b/public/quizimages/easy/question13.jpg differ diff --git a/public/quizimages/easy/question14.jpg b/public/quizimages/easy/question14.jpg new file mode 100644 index 0000000..600262b Binary files /dev/null and b/public/quizimages/easy/question14.jpg differ diff --git a/public/quizimages/easy/question15.jpg b/public/quizimages/easy/question15.jpg new file mode 100644 index 0000000..21cb975 Binary files /dev/null and b/public/quizimages/easy/question15.jpg differ diff --git a/public/quizimages/easy/question16.jpg b/public/quizimages/easy/question16.jpg new file mode 100644 index 0000000..d978686 Binary files /dev/null and b/public/quizimages/easy/question16.jpg differ diff --git a/public/quizimages/easy/question17.jpg b/public/quizimages/easy/question17.jpg new file mode 100644 index 0000000..898b60b Binary files /dev/null and b/public/quizimages/easy/question17.jpg differ diff --git a/public/quizimages/easy/question18.jpg b/public/quizimages/easy/question18.jpg new file mode 100644 index 0000000..9841277 Binary files /dev/null and b/public/quizimages/easy/question18.jpg differ diff --git a/public/quizimages/easy/question19.jpg b/public/quizimages/easy/question19.jpg new file mode 100644 index 0000000..84fbf34 Binary files /dev/null and b/public/quizimages/easy/question19.jpg differ diff --git a/public/quizimages/question2.jpg b/public/quizimages/easy/question2.jpg similarity index 100% rename from public/quizimages/question2.jpg rename to public/quizimages/easy/question2.jpg diff --git a/public/quizimages/easy/question20.jpg b/public/quizimages/easy/question20.jpg new file mode 100644 index 0000000..e4a06c1 Binary files /dev/null and b/public/quizimages/easy/question20.jpg differ diff --git a/public/quizimages/question3.jpg b/public/quizimages/easy/question3.jpg similarity index 100% rename from public/quizimages/question3.jpg rename to public/quizimages/easy/question3.jpg diff --git a/public/quizimages/question4.jpg b/public/quizimages/easy/question4.jpg similarity index 100% rename from public/quizimages/question4.jpg rename to public/quizimages/easy/question4.jpg diff --git a/public/quizimages/question5.jpg b/public/quizimages/easy/question5.jpg similarity index 100% rename from public/quizimages/question5.jpg rename to public/quizimages/easy/question5.jpg diff --git a/public/quizimages/easy/question6.jpg b/public/quizimages/easy/question6.jpg new file mode 100644 index 0000000..d32a62e Binary files /dev/null and b/public/quizimages/easy/question6.jpg differ diff --git a/public/quizimages/easy/question7.jpg b/public/quizimages/easy/question7.jpg new file mode 100644 index 0000000..efc6ed7 Binary files /dev/null and b/public/quizimages/easy/question7.jpg differ diff --git a/public/quizimages/easy/question8.jpg b/public/quizimages/easy/question8.jpg new file mode 100644 index 0000000..3fcc79a Binary files /dev/null and b/public/quizimages/easy/question8.jpg differ diff --git a/public/quizimages/easy/question9.jpg b/public/quizimages/easy/question9.jpg new file mode 100644 index 0000000..a36dfdd Binary files /dev/null and b/public/quizimages/easy/question9.jpg differ diff --git a/public/quizimages/intermediate/question1.jpg b/public/quizimages/intermediate/question1.jpg new file mode 100644 index 0000000..407b6b3 Binary files /dev/null and b/public/quizimages/intermediate/question1.jpg differ diff --git a/public/quizimages/intermediate/question10.jpg b/public/quizimages/intermediate/question10.jpg new file mode 100644 index 0000000..dad1c9e Binary files /dev/null and b/public/quizimages/intermediate/question10.jpg differ diff --git a/public/quizimages/intermediate/question11.jpg b/public/quizimages/intermediate/question11.jpg new file mode 100644 index 0000000..8c26dac Binary files /dev/null and b/public/quizimages/intermediate/question11.jpg differ diff --git a/public/quizimages/intermediate/question12.jpg b/public/quizimages/intermediate/question12.jpg new file mode 100644 index 0000000..b0074c4 Binary files /dev/null and b/public/quizimages/intermediate/question12.jpg differ diff --git a/public/quizimages/intermediate/question13.jpg b/public/quizimages/intermediate/question13.jpg new file mode 100644 index 0000000..67cb89d Binary files /dev/null and b/public/quizimages/intermediate/question13.jpg differ diff --git a/public/quizimages/intermediate/question14.jpg b/public/quizimages/intermediate/question14.jpg new file mode 100644 index 0000000..09d4e7a Binary files /dev/null and b/public/quizimages/intermediate/question14.jpg differ diff --git a/public/quizimages/intermediate/question15.jpg b/public/quizimages/intermediate/question15.jpg new file mode 100644 index 0000000..3e4fdea Binary files /dev/null and b/public/quizimages/intermediate/question15.jpg differ diff --git a/public/quizimages/intermediate/question16.jpg b/public/quizimages/intermediate/question16.jpg new file mode 100644 index 0000000..f2bdbb0 Binary files /dev/null and b/public/quizimages/intermediate/question16.jpg differ diff --git a/public/quizimages/intermediate/question17.jpg b/public/quizimages/intermediate/question17.jpg new file mode 100644 index 0000000..23172d6 Binary files /dev/null and b/public/quizimages/intermediate/question17.jpg differ diff --git a/public/quizimages/intermediate/question18.jpg b/public/quizimages/intermediate/question18.jpg new file mode 100644 index 0000000..f7f0a05 Binary files /dev/null and b/public/quizimages/intermediate/question18.jpg differ diff --git a/public/quizimages/intermediate/question19.jpg b/public/quizimages/intermediate/question19.jpg new file mode 100644 index 0000000..cdde71f Binary files /dev/null and b/public/quizimages/intermediate/question19.jpg differ diff --git a/public/quizimages/intermediate/question2.jpg b/public/quizimages/intermediate/question2.jpg new file mode 100644 index 0000000..f857a2b Binary files /dev/null and b/public/quizimages/intermediate/question2.jpg differ diff --git a/public/quizimages/intermediate/question20.jpg b/public/quizimages/intermediate/question20.jpg new file mode 100644 index 0000000..357bd75 Binary files /dev/null and b/public/quizimages/intermediate/question20.jpg differ diff --git a/public/quizimages/intermediate/question3.jpg b/public/quizimages/intermediate/question3.jpg new file mode 100644 index 0000000..ae8513d Binary files /dev/null and b/public/quizimages/intermediate/question3.jpg differ diff --git a/public/quizimages/intermediate/question4.jpg b/public/quizimages/intermediate/question4.jpg new file mode 100644 index 0000000..57413cf Binary files /dev/null and b/public/quizimages/intermediate/question4.jpg differ diff --git a/public/quizimages/intermediate/question5.jpg b/public/quizimages/intermediate/question5.jpg new file mode 100644 index 0000000..e5ed04c Binary files /dev/null and b/public/quizimages/intermediate/question5.jpg differ diff --git a/public/quizimages/intermediate/question6.jpg b/public/quizimages/intermediate/question6.jpg new file mode 100644 index 0000000..7c99ba8 Binary files /dev/null and b/public/quizimages/intermediate/question6.jpg differ diff --git a/public/quizimages/intermediate/question7.jpg b/public/quizimages/intermediate/question7.jpg new file mode 100644 index 0000000..0c44ca1 Binary files /dev/null and b/public/quizimages/intermediate/question7.jpg differ diff --git a/public/quizimages/intermediate/question8.jpg b/public/quizimages/intermediate/question8.jpg new file mode 100644 index 0000000..67ce962 Binary files /dev/null and b/public/quizimages/intermediate/question8.jpg differ diff --git a/public/quizimages/intermediate/question9.jpg b/public/quizimages/intermediate/question9.jpg new file mode 100644 index 0000000..ce79fd8 Binary files /dev/null and b/public/quizimages/intermediate/question9.jpg differ diff --git a/src/components/Main.js b/src/components/Main.js index 38906fd..c32f41c 100644 --- a/src/components/Main.js +++ b/src/components/Main.js @@ -126,11 +126,11 @@ class ResponsiveDrawer extends React.Component { this.nav('Easy-Quiz')}> - this.nav('Medium-Quiz')}> - + this.nav('Intermediate-Quiz')}> + - this.nav('Hard-Quiz')}> - + this.nav('Advanced-Quiz')}> + @@ -204,8 +204,8 @@ class ResponsiveDrawer extends React.Component { {this.state.key === 'About' && } {this.state.key === 'Contact' && } {this.state.key === 'Easy-Quiz' && } - {this.state.key === 'Medium-Quiz' && } - {this.state.key === 'Hard-Quiz' && } + {this.state.key === 'Intermediate-Quiz' && } + {this.state.key === 'Advanced-Quiz' && } ); diff --git a/src/components/QuizGame.js b/src/components/QuizGame.js index 88f8bbe..02d58d7 100644 --- a/src/components/QuizGame.js +++ b/src/components/QuizGame.js @@ -1,4 +1,4 @@ -import React, { Fragment } from 'react'; +import React from 'react'; import Grid from '@material-ui/core/Grid'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; @@ -6,6 +6,9 @@ import Quiz from 'react-quiz-component'; import { Typography } from '@material-ui/core'; import Button from '@material-ui/core/Button'; import RefreshIcon from '@material-ui/icons/Refresh'; +import advancedQuiz from '../quiz/advancedQuiz.js' +import easyQuiz from '../quiz/easyQuiz.js' +import intermediateQuiz from '../quiz/intermediateQuiz.js' // Style for the tabs. const styles = theme => ({ @@ -18,7 +21,7 @@ const styles = theme => ({ }, rightIcon: { marginLeft: theme.spacing.unit, - }, + } }); class QuizGame extends React.Component { @@ -49,189 +52,6 @@ class QuizGame extends React.Component { }); } - easy = { - "quizTitle": "Trail Cam Quiz: Easy", - "questions": [ - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "Black bear", - "Common wombat", - "Raccoon", - "White-tailed deer" - ], - "correctAnswer": "1" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American beaver", - "Muskrat", - "Porcupine", - "Woodchuck" - ], - "correctAnswer": "3" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American badger", - "Raccoon", - "Striped skunk", - "Virginia opossum" - ], - "correctAnswer": "2" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "Eastern fox squirrel", - "Eastern gray squirrel", - "Red squirrel", - "Southern flying squirrel" - ], - "correctAnswer": "3" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American Crow", - "Black Vulture", - "Turkey Vulture", - "Northern Raven" - ], - "correctAnswer": "3" - }, - ] - } - - medium = { - "quizTitle": "Trail Cam Quiz: Medium", - "questions": [ - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "Black bear", - "Common wombat", - "Raccoon", - "White-tailed deer" - ], - "correctAnswer": "1" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American beaver", - "Muskrat", - "Porcupine", - "Woodchuck" - ], - "correctAnswer": "3" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American badger", - "Raccoon", - "Striped skunk", - "Virginia opossum" - ], - "correctAnswer": "2" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "Eastern fox squirrel", - "Eastern gray squirrel", - "Red squirrel", - "Southern flying squirrel" - ], - "correctAnswer": "3" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American Crow", - "Black Vulture", - "Turkey Vulture", - "Northern Raven" - ], - "correctAnswer": "3" - }, - ] - } - - hard = { - "quizTitle": "Trail Cam Quiz: Hard", - "questions": [ - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "Black bear", - "Common wombat", - "Raccoon", - "White-tailed deer" - ], - "correctAnswer": "1" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American beaver", - "Muskrat", - "Porcupine", - "Woodchuck" - ], - "correctAnswer": "3" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American badger", - "Raccoon", - "Striped skunk", - "Virginia opossum" - ], - "correctAnswer": "2" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "Eastern fox squirrel", - "Eastern gray squirrel", - "Red squirrel", - "Southern flying squirrel" - ], - "correctAnswer": "3" - }, - { - "question": What animal is this?

, - "questionType": "text", - "answers": [ - "American Crow", - "Black Vulture", - "Turkey Vulture", - "Northern Raven" - ], - "correctAnswer": "3" - }, - ] - } - /** * This function returns the * quiz data based on the difficulty @@ -243,16 +63,16 @@ class QuizGame extends React.Component { switch (difficulty) { case 'Easy': - this.easy.questions = this.shuffleArray(this.easy.questions); - level = this.easy; + easyQuiz.questions = this.shuffleArray(easyQuiz.questions); + level = easyQuiz; break; - case 'Medium': - this.medium.questions = this.shuffleArray(this.medium.questions); - level = this.medium; + case 'Intermediate': + intermediateQuiz.questions = this.shuffleArray(intermediateQuiz.questions); + level = intermediateQuiz; break; - case 'Hard': - this.hard.questions = this.shuffleArray(this.hard.questions); - level = this.hard; + case 'Advanced': + advancedQuiz.questions = this.shuffleArray(advancedQuiz.questions); + level = advancedQuiz; break; default: break; @@ -274,7 +94,7 @@ class QuizGame extends React.Component { return ( // Tabs
- + diff --git a/src/components/ReportMap.js b/src/components/ReportMap.js index f4848ee..3e72165 100644 --- a/src/components/ReportMap.js +++ b/src/components/ReportMap.js @@ -30,8 +30,8 @@ export class MapContainer extends Component { // center map on Grand Rapids, Michigan this.setState({ myLatLng: { - lat: 42.9634, - lng: 85.6681 + lat: 43.8666776, + lng: -85.9667325 } } ); @@ -82,8 +82,8 @@ export class MapContainer extends Component { // marker and info window information state = { myLatLng: { - lat: 42.9634, - lng: 85.6681 + lat: 43.8666776, + lng: -85.9667325 }, markerLatLng: { lat: 0, diff --git a/src/quiz/advancedQuiz.js b/src/quiz/advancedQuiz.js new file mode 100644 index 0000000..e7bb4a5 --- /dev/null +++ b/src/quiz/advancedQuiz.js @@ -0,0 +1,229 @@ +import React, {Fragment} from 'react'; + +const advancedQuiz = { + "quizTitle": "Trail Cam Quiz: Advanced", + "questions": [ + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Ermine", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American Robin", + "Hermit Thrush", + "Veery", + "Wood Thrush" + ], + "correctAnswer": "1" + }, + { + "question": What is in the marten's mouth?

, + "questionType": "text", + "answers": [ + "American Woodcock", + "Mourning Dove", + "Rock Dove", + "Ruffed Grouse" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Black bear", + "Raccoon", + "Virginia opossum", + "Woodchuck" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Black bear", + "Raccoon", + "White-tailed deer", + "Woodchuck" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Coyote", + "Domestic dog", + "Gray fox", + "Red fox" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern chipmunk", + "Least chipmunk", + "Red squirrel", + "Thirteen-lined ground squirrel" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern chipmunk", + "Eastern fox squirrel", + "Eastern gray squirrel", + "Red squirrel" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "2" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Hermit Thrush", + "Louisiana Waterthrush", + "Ovenbird", + "Northern Waterthrush" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American beaver", + "Muskrat", + "Porcupine", + "Woodchuck" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American badger", + "Raccoon", + "Striped skunk", + "Virginia opossum" + ], + "correctAnswer": "2" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern fox squirrel", + "Eastern gray squirrel", + "Flying squirrel", + "Red squirrel" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American Woodcock", + "Mourning Dove", + "Rock Dove", + "Ruffed Grouse" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern fox squirrel", + "Eastern gray squirrel", + "Flying squirrel", + "Red squirrel" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "House mouse", + "Meadow jumping mouse", + "White-footed mouse", + "Woodland jumping mouse" + ], + "correctAnswer": "3" + }, + { + "question": What is in the marten's mouth?

, + "questionType": "text", + "answers": [ + "Eastern chipmunk", + "Flying squirrel", + "White-footed mouse", + "Norway rat" + ], + "correctAnswer": "2" + }, + ] +} + +export default advancedQuiz; \ No newline at end of file diff --git a/src/quiz/easyQuiz.js b/src/quiz/easyQuiz.js new file mode 100644 index 0000000..209eb24 --- /dev/null +++ b/src/quiz/easyQuiz.js @@ -0,0 +1,229 @@ +import React, {Fragment} from 'react'; + +const easyQuiz = { + "quizTitle": "Trail Cam Quiz: Easy", + "questions": [ + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Black bear", + "Common wombat", + "Raccoon", + "White-tailed deer" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American beaver", + "Muskrat", + "Porcupine", + "Woodchuck" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American badger", + "Raccoon", + "Striped skunk", + "Virginia opossum" + ], + "correctAnswer": "2" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern fox squirrel", + "Eastern gray squirrel", + "Red squirrel", + "Southern flying squirrel" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American Crow", + "Black Vulture", + "Turkey Vulture", + "Northern Raven" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American Robin", + "Hermit Thrush", + "Mourning Dove", + "Wood Thrush" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Black bear", + "Common wombat", + "Raccoon", + "White-tailed deer" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Bobcat", + "Domestic cat", + "Lynx", + "Serval" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Coyote", + "Domestic dog", + "Gray fox", + "Red fox" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern chipmunk", + "Flying squirrel", + "Least chipmunk", + "Red squirrel" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern chipmunk", + "Flying squirrel", + "Least chipmunk", + "Red squirrel" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Raccoon", + "Striped skunk", + "Virginia opossum", + "Woodchuck" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American beaver", + "Muskrat", + "Porcupine", + "Woodchuck" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American badger", + "Raccoon", + "Striped skunk", + "Virginia opossum" + ], + "correctAnswer": "2" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American badger", + "Raccoon", + "Striped skunk", + "Virginia opossum" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Elk", + "Moose", + "Mule deer", + "White-tailed deer" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Elk", + "Moose", + "Mule deer", + "White-tailed deer" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Elk", + "Moose", + "Mule deer", + "White-tailed deer" + ], + "correctAnswer": "4" + }, + ] +} + +export default easyQuiz; \ No newline at end of file diff --git a/src/quiz/intermediateQuiz.js b/src/quiz/intermediateQuiz.js new file mode 100644 index 0000000..c9c16ea --- /dev/null +++ b/src/quiz/intermediateQuiz.js @@ -0,0 +1,229 @@ +import React, {Fragment} from 'react'; + +const intermediateQuiz = { + "quizTitle": "Trail Cam Quiz: Intermediate", + "questions": [ + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American badger", + "Raccoon", + "Virginia opossum", + "Woodchuck" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American marten", + "Fisher", + "Long-tailed weasel", + "Mink" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American Robin", + "Hermit Thrush", + "Mourning Dove", + "Wood Thrush" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Black bear", + "Raccoon", + "White-tailed deer", + "Woodchuck" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Bobcat", + "Domestic cat", + "Lynx", + "Ocelot" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Bobcat", + "Domestic cat", + "Lynx", + "Margay" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American Crow", + "Blue Jay", + "Common Grackle", + "Common Raven" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Coyote", + "Domestic dog", + "Gray fox", + "Red fox" + ], + "correctAnswer": "1" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern chipmunk", + "Eastern fox squirrel", + "Eastern gray squirrel", + "Red squirrel" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern chipmunk", + "Eastern fox squirrel", + "Eastern gray squirrel", + "Red squirrel" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American beaver", + "Muskrat", + "Porcupine", + "Woodchuck" + ], + "correctAnswer": "3" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American badger", + "Raccoon", + "Striped skunk", + "Virginia opossum" + ], + "correctAnswer": "2" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American badger", + "Raccoon", + "Striped skunk", + "Virginia opossum" + ], + "correctAnswer": "2" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Coyote", + "Domestic dog", + "Gray fox", + "Red fox" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern fox squirrel", + "Eastern gray squirrel", + "Flying squirrel", + "Red squirrel" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Eastern chipmunk", + "Eastern fox squirrel", + "Eastern gray squirrel", + "Red squirrel" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "American Woodcock", + "Mourning Dove", + "Rock Dove", + "Ruffed Grouse" + ], + "correctAnswer": "4" + }, + { + "question": What animal is this?

, + "questionType": "text", + "answers": [ + "Elk", + "Moose", + "Mule deer", + "White-tailed deer" + ], + "correctAnswer": "4" + }, + ] +} + +export default intermediateQuiz; \ No newline at end of file