Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions exercises/concept/windowing-system/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ In this exercise, you will be simulating a windowing based computer system.
You will create some windows that can be moved and resized.
The following image is representative of the values you will be working with below.

```
```text
<--------------------- screenSize.width --------------------->

^ ╔════════════════════════════════════════════════════════════╗
|
| position.x,_
| position.y \
| \<----- size.width ----->
| ^ *──────────────────────┐
| | │ title │
| | ├──────────────────────┤
screenSize.height | │ │
| size.height │ │
| | │ contents │
| | │ │
| | │ │
| v └──────────────────────┘
|
|
v ╚════════════════════════════════════════════════════════════╝
^ ┌────────────────────────────────────────────────────────────┐
|
| position.x, _
| position.y \
| \<----- size.width ----->
| ^ *──────────────────────┐
| | │ title │
| | ├──────────────────────┤
screenSize.height | │ │
| size.height │ │
| | │ contents │
| | │ │
| | │ │
| v └──────────────────────┘
|
|
v └────────────────────────────────────────────────────────────┘
```

📣 To practice your wide range of JavaScript skills, **try to solve tasks 1 and 2 with prototype syntax and the remaining tasks with class syntax**.
Expand Down