# Summer: Assignment 3 - Coding Lab (Objects)
## Objective
In 2023, a new social app will be launched to replace Instagram. The new company, Finstagram, has hired you to help design the JavaScript objects their apps will use. You will focus on helping them design their DM feature
The DM feature will require the following objects:
* User Profile
* User Messages
Use your knowledge of creating and manipulating objects to complete the instructions below.
## Instructions
## Part 1: User Profiles [4 pts]
1. Create a variable with the following name: `johnnyUserProfileObject`
2. Inside this variable, store an object with the key:value pairs below:
| Key. | Value. |
| -------- | -------- |
| name | "Johnny Test Profile" |
| userName | "johnyTest" |
| age | 25 |
| friends | "lisaTest" |
- **[1.3: 1 pt]**
3. Create a variable with the following name: `lisaUserProfileObject`
4. Inside this variable, store an object with the key:value pairs below:
| Key. | Value. |
| -------- | -------- |
| name | "Lisa Test Profile" |
| userName | "lisaTest" |
| age | 30 |
| friends | "johnyTest" |
- **[1.3: 1 pt]**
5. Use `console.log()` and `object dot notation` to output the name and usernames of `johnnyUserProfileObject` and `lisaUserProfileObject`
- **[1.3: 2 pts]**
## Part 2: User Messages [4 pts]
1. Create a variable with the following name: `testMessage1`
2. Inside this variable, store an object with the key:value pairs below:
| Key. | Value. |
| -------- | -------- |
| sender | "johnyTest" |
| recipient | "lisaTest" |
| message | "Hey! Are we still on for dinner this Friday?" |
- **[1.3: 1 pt]**
3. Create a variable with the following name: `testMessage2`
4. Inside this variable, store an object with that:
* Is sent from Lisa to Johnny
* Read: "Hey! Yeah I'm still down to hangout. Where'd you wanna go?"
- **[1.3: 1 pt]**
5. Use `console.log()` and `object dot notation` to output the name of the sender of `testMessage1` and then the message of `testMessage1`
- **[1.3: 1 pt]**
7. Use `console.log()` and `object dot notation` to output the name of the sender of `testMessage2` and then the message of `testMessage2`
- **[1.3: 1 pt]**
## Extra Credit [4 pts]
1. Add a `DMs` property to both `User Profile` objects.
- **[1.3: 1 pt]**
2. Assign an empty array to the `DMs` property of both `User Profile` objects.
- **[1.3: 1 pt]**
3. Use array methods to add both `User Message` objects to each`User Profile` object's `DMs` property.
- **[1.3: 2 pts]**