Skip to content
Open
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
12 changes: 8 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@ 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: "Daniel",
hometown: "Port-au-Prince 🇭🇹",
favoriteColors: [" black", " blue"," red"]
}


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

let introStatement = `Hi, my name is ${personObj.name}, and I'm from ${personObj.hometown}.`
// print out: "My favorite colors are {your favorite colors}"
let favoriteColorsStatement = `My favorite colors are ${personObj.favoriteColors}.`
console.log(introStatement);
console.log(favoriteColorsStatement);
}
console.log(introduceMe(meObj))