reading-notes

Class Six Notes (201)

Intro to Objects and the DOM

Lecture Notes

JS Object Basics1

const dog = { name: ‘Spot’, age: 2, color: ‘white with black spots’, humanAge: function (){ console.log(${this.name} is ${this.age*7} in human years); }

Intro to the DOM2

Things I want to know more about

Back to main page

References

  1. https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Basics 

  2. https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction