Week 7


7-1

Create:


    • Convert your interactable assignment from last week (or an object from one of your previous assignments) to use javascript class syntax.  Place this object in another file and import it into your index.js file using import syntax:

      import { MyCoolClass } from “./MyCoolClass.js”;

      Your class (i.e. MyCoolClass) can then be created in this file as follows:

      export class MyCoolClass { … }





⬆ Click to get to the interactive page! ⬆


cloud.js !