JavaScript Objects and Fetch

Introduction

In the past few lessons, when we used fetch to get data, we got data formatted as 'JSON'. JSON stands for JavaScript Object Notation, and it comes from a JavaScript language feature for creating Objects.

Over the next few lessons, we'll cover the basics of working with Objects in JavaScript. In particular, the lessons will cover:

  • Syntax for Object literals
  • Accessing Object properties with dot notation and bracket notation
  • Adding and removing properties from Objects
  • Traversing Nested Objects

That way, when we get data back from the server, we'll be comfortable working with that data to build interactive frontend applications.