Skip to content

Commit

Permalink
fix instructions typos (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
conalli authored Sep 4, 2023
1 parent 25263ae commit 585824c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions exercises/concept/windowing-system/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ Additionally `ProgramWindow` requires a resize function, which receives the `Siz
<?php

$window = new ProgramWindow();
$size = new Size(1080, 764);
$size = new Size(764, 1080);
$window->resize($size)

$winodw->width;
// => 1080
$window->height;
// => 764
$window->width;
// => 1080
```

## 4. Define a function to move the window
Expand All @@ -87,8 +87,8 @@ $window = new ProgramWindow();
$position = new Position(80, 313);
$window->move($position)

$winodw->x;
// => 313
$window->y;
// => 80
$window->x;
// => 313
```

0 comments on commit 585824c

Please sign in to comment.