diff --git a/README.md b/README.md index b7e4fe1..92b244c 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,6 @@ ## 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. \ No newline at end of file +- Complete the logic in the `introduceMe` function to print out the 2 statments that the comments are guiding you to print out. + +Its about me🌚 \ No newline at end of file diff --git a/index.js b/index.js index cd6e45d..33c641a 100644 --- a/index.js +++ b/index.js @@ -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: "AntMan", + hometown: "QUEENS💸", + favoriteColors: ["pink", "pink", "pink", "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'm from $(personObj.hometown)") + console.log('My favorite colors are $(personobj.favoriteColors}') - // print out: "My favorite colors are {your favorite colors}" } +console.log(introduceMe(meobj)); \ No newline at end of file