File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ export function Index() {
1212 < canvas id = "myCanvas" width = "300" height = "300" style = { { border : "1px solid #000000" } } >
1313 </ canvas >
1414
15- < img src = '/apple.png' alt = "apple" height = { 50 } />
15+ { /* <img src='/apple.png' alt="apple" height={50} />
1616
17- < img src = '/cat.png' alt = "apple" height = { 50 } />
17+ <img src='/cat.png' alt="apple" height={50} /> */ }
1818
1919 < button onClick = { drawHouse } > DRAW HOUSE</ button >
2020 </ div >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default class Scratch {
1010 changeXBy ( value ) {
1111 this . x = this . x + value
1212 }
13- changeyBy ( value ) {
13+ changeYBy ( value ) {
1414 this . y = this . y + value
1515 }
1616 whenGreenFlagClicked ( ) {
@@ -19,7 +19,7 @@ export default class Scratch {
1919 // eslint-disable-next-line no-constant-condition
2020 while ( true ) {
2121 this . changeXBy ( 1 )
22- this . changeyBy ( - 1 )
22+ this . changeYBy ( - 1 )
2323 }
2424 }
2525}
You can’t perform that action at this time.
0 commit comments