CW#4 -- Inspector

1 view
Skip to first unread message

Akif Eyler

unread,
Oct 31, 2019, 3:09:18 AM10/31/19
to BLM
CW#4 -- Inspector

This week, we will learn how to modify the Inspector that we have been using in the course

1. Make a copy of maeyler.github.io/305/work/EloquentJS.html and put it in your repo

2. Modify the file so that it contains the Inspector and the links to your previous work
(similar to the README.md file, but use <a href="..."> tags for the links)

3. Define the following 5 classes and make instances of these classes in the Menu:

File Database.js:  (part of HW2)
Course {name, time, date, rooms]
Student {id, name, gpa, courses}
(no need to read the file today -- that will be done in HW2)

File EloquentJS.html:
Point {x, y}
Point3D extends Point {x, y, z}
CW4 extends Menu {...}

4. Define toString() method for each class (except CW4) so that it is shown correctly in the Inspector

Send me the link to your page and a screenshot showing all your work so far (due: 3pm today)

_Akif_Eyler_

Reply all
Reply to author
Forward
0 new messages