File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
exercises/concept/windowing-system/.docs Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -4,26 +4,26 @@ In this exercise, you will be simulating a windowing based computer system.
44You will create some windows that can be moved and resized.
55The following image is representative of the values you will be working with below.
66
7- ```
7+ ``` text
88 <--------------------- screenSize.width --------------------->
99
10- ^ ╔════════════════════════════════════════════════════════════╗
11- | ║ ║
12- | ║ position.x,_ ║
13- | ║ position.y \ ║
14- | ║ \<----- size.width -----> ║
15- | ║ ^ *──────────────────────┐ ║
16- | ║ | │ title │ ║
17- | ║ | ├──────────────────────┤ ║
18- screenSize.height ║ | │ │ ║
19- | ║ size.height │ │ ║
20- | ║ | │ contents │ ║
21- | ║ | │ │ ║
22- | ║ | │ │ ║
23- | ║ v └──────────────────────┘ ║
24- | ║ ║
25- | ║ ║
26- v ╚════════════════════════════════════════════════════════════╝
10+ ^ ┌────────────────────────────────────────────────────────────┐
11+ | │ │
12+ | │ position.x, _ │
13+ | │ position.y \ │
14+ | │ \<----- size.width -----> │
15+ | │ ^ *──────────────────────┐ │
16+ | │ | │ title │ │
17+ | │ | ├──────────────────────┤ │
18+ screenSize.height │ | │ │ │
19+ | │ size.height │ │ │
20+ | │ | │ contents │ │
21+ | │ | │ │ │
22+ | │ | │ │ │
23+ | │ v └──────────────────────┘ │
24+ | │ │
25+ | │ │
26+ v └────────────────────────────────────────────────────────────┘
2727```
2828
2929📣 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** .
You can’t perform that action at this time.
0 commit comments