diff --git a/index.js b/index.js index cd6e45d..51b23cb 100644 --- a/index.js +++ b/index.js @@ -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: "Alex", + hometown: "the Bronx!", + favoriteColors: ["pink", "lavender", "olive green", "grey"] +}; +function introduceMe(meObj){ + console.log(`Hi, my name is ${meObj.name}, and I'm from ${meObj.hometown}`); -function introduceMe (personObj){ - // print out: "Hi, my name is {your name}, and I'm from {your hometown}" + console.log(`My favorite colors are ${meObj.favoriteColors[0]}, + ${meObj.favoriteColors[1]}, + ${meObj.favoriteColors[2]}, and + ${meObj.favoriteColors[3]}.`); +}; - // print out: "My favorite colors are {your favorite colors}" -} +introduceMe(meObj);