Teaching / Intro to Web Dev / JavaScript Objects - Week 08

JavaScript Objects - Week 08


Welcome to week 8 of Intro to Web Dev!

Now you know how to write your own JavaScript code, and how to store multiple values using arrays. This week you’ll learn about JavaScript objects, which let you store related values together!

Work through the activities in this page to complete the week!


JavaScript Objects

First, watch this video and read through the tutorial to learn about JavaScript objects:


Quiz

  1. In your own words, what is an object in JavaScript?
  2. What’s the difference between a primitive value and an object?
  3. What is the difference between objects and arrays?
  4. Let’s say you wanted to create an object that represented a student in this course. What are some fields and values you’d give that object?
  5. In your own words, what is object-oriented programming?

Project

Now you’ve seen the fundamentals of JavaScript objects.

To practice these concepts, modify the files in the week-08-objects directory of your project repo.


Checklist

  1. Learn about objects
  2. Follow the directions in the week-08-objects directory of your project repo
  3. Push those changes to GitHub and confirm you can see them in your GitHub Pages site
  4. Get ready to present your work. Make sure your camera and microphone work!