Skip to content

Commit

Permalink
Updated the questions in level 3 to reflect Figma
Browse files Browse the repository at this point in the history
  • Loading branch information
neilwj7 committed Oct 30, 2024
1 parent 8027020 commit bd36140
Showing 1 changed file with 11 additions and 22 deletions.
33 changes: 11 additions & 22 deletions src/components/shared/ExerciseSide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,42 +64,31 @@ ExerciseSideProps): JSX.Element {
<div style={{ paddingTop: '10vw' }}>
<GraphInput
questionArray={[
{
textArray: [
{
type: 'text',
text: '# Goto point A and draw on the dotted line',
},
],
},
{
textArray: [
{ type: 'text', text: 'turtle.goto(' },
{ type: 'input', width: 2, id: 0, answer: '2' },
{ type: 'text', text: ', 1)' },
],
},
{
textArray: [
{ type: 'text', text: 'turtle.setheading(' },
{ type: 'input', width: 4, id: 1, answer: '225' },
{ type: 'text', text: ')' },
],
},
{
textArray: [
{ type: 'text', text: 'turtle.' },
{ type: 'input', width: 8, id: 2, answer: 'forward' },
{ type: 'text', text: '()' },
{ type: 'input', width: 4, id: 1, answer: 'goto' },
{ type: 'text', text: '(1,' },
{ type: 'input', width: 2, id: 2, answer: '-1' },
{ type: 'text', text: ')' }
],
},
{
textArray: [
{ type: 'text', text: 'turtle.goto(' },
{ type: 'input', width: 2, id: 3, answer: '0' },
{ type: 'text', text: ', ' },
{ type: 'input', width: 2, id: 4, answer: '-1' },
{ type: 'text', text: ')' },
{ type: 'text', text: 'turtle.' },
{ type: 'input', width: 4, id: 3, answer: 'goto' },
{ type: 'text', text: '(' },
{ type: 'input', width: 2, id: 4, answer: '0' },
{ type: 'text', text: ',' },
{ type: 'input', width: 2, id: 5, answer: '-1' },
{ type: 'text', text: ')' }
],
},
]}
Expand Down

0 comments on commit bd36140

Please sign in to comment.