diff --git a/index.js b/index.js index cd6e45d..90f4c95 100644 --- a/index.js +++ b/index.js @@ -1,16 +1,21 @@ -console.log("Hey you! Yeah you! Awesome Developer! You're doing Great Fam! 💪🧑‍💻🙌") - - +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: 'Michael', + hometown: 'Brooklyn', + favoriteColors: ['black', 'red'], +}; +function introduceMe(personObj) { + // print out: "Hi, my name is {your name}, and I'm from {your hometown}" + 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}" - - // print out: "My favorite colors are {your favorite colors}" + // print out: "My favorite colors are {your favorite colors}" + console.log( + `My favorite colors are ${meObj.favoriteColors[0]} and ${meObj.favoriteColors[1]}` + ); } + +console.log(introduceMe(meObj));