JS Objects
Posted on Feb 2nd, 2023
Today’s topics
- Introduction to the object data structure in JavaScript
- Storing data in and retrieving data from objects
- Using functions with objects and DOM manipulation.
🎯 Project: Build a customer directory
Link to assignment invitation. This assignment is due Monday, February 6.
🦉 Code, Notes & Videos
🔖 Resources
- MDN Using Data Attributes
- MDN JavaScript Object Basics
- Eloquent JavaScript, chapter 4: Objects and Arrays
- blog post on JS objects
- Prettier Code Formatter This is information about the extension that you can (and should) install in VS Code.
- How to format code with Prettier
⭐ EXTRA/TMI
- Podcast on learning to code with the founder of Code Newbie, Saron Yitbarek
- Rebecca Murphey on using objects to write more concise code (short video)
- Lodash - This is a JS utility library – lots of handy little functions that can make it easier to do common things
- Moment.js - This is a very commonly used library for working with dates in JS. It’s big and kind of old, but handy for reformatting how dates are displayed. You could also check out modern alternatives like Luxon or date-fns.