diff --git a/index.js b/index.js index cd6e45d..591b184 100644 --- a/index.js +++ b/index.js @@ -3,14 +3,14 @@ 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: "Iris", + hometown: "the DMV", + favoriteColors: ["yellow", "blue", "lavender"] } function introduceMe (personObj){ - // print out: "Hi, my name is {your name}, and I'm from {your hometown}" - - // print out: "My favorite colors are {your favorite colors}" + return `Hi, my name is ${personObj.name}, and I'm from ${personObj.hometown} \n My favorite colors are ${personObj.favoriteColors.join(" and ")}`; } + +console.log(introduceMe(meObj)); \ No newline at end of file