From c5e2a77d2b24b05591330d7a03834deaf7366502 Mon Sep 17 00:00:00 2001 From: Marcia Foster Date: Thu, 27 Apr 2023 12:14:18 -0400 Subject: [PATCH] made changes --- index.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index cd6e45d..35f423d 100644 --- a/index.js +++ b/index.js @@ -1,16 +1,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: "Marcia", + hometown: "Brooklyn", + favoriteColors: ["navy blue", "orange"] } 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}" + console.log(`Hi, my name is ${personObj.name}, and I'm from ${personObj.hometown}.`) + console.log(`My favorite colors are ${personObj.favoriteColors}.`) } +console.log(introduceMe(meObj)) \ No newline at end of file