Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Change This - Make this About ✨YOU
# Open this to learn stuff about ✨ME

## There's an index.js file in this code base. You have two goals:
- Alter the `meObj` so it matches relevant information about ✨YOU✨
- Complete the logic in the `introduceMe` function to print out the 2 statments that the comments are guiding you to print out.
## There's an index.js file in this code base. You will learn TWO things about me:

### Enjoy 🥰
11 changes: 6 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ console.log("Hey you! Yeah you! Awesome Developer! You're doing Great Fam! 💪


const meObj = {
name: "Sam",
hometown: "The Boogie-Down - BX 🙅🏾‍♂️",
favoriteColors: ["gold", "navy blue", "forest green", "red"]
name: "Anamaria T.",
hometown: "Born in Providence, RI ; Raised in the Bronx, NY",
favoriteColors: ["Lavender", "Green", "Black"]
}


function introduceMe (personObj){
// print out: "Hi, my name is {your name}, and I'm from {your hometown}"
console.log(`Hi, my name is ${personObj.name}, and I was ${personObj.hometown}`)

// print out: "My favorite colors are {your favorite colors}"
console.log(`My favorite colors are ${personObj.favoriteColors}`)
}
console.log (introduceMe(meObj))