Fast Food Recommendation

Created a program that outputs a recommendation of a fast food restaurant to get. It will also provide a message with a quality about the place and when you should order it. It took a little bit of time to get something together that made sense. I struggled with adding ASCII art into the program. I would love to get any feedback about the program and ways to make it more efficient. Also, I want to know if there is anything missing from the README file that should typically be included.

Hey Rob!

Just did this project myself, although through the back-end course, and now looked through your solution.

##My thoughts:

  1. I think you really nailed the README. Very clear purpose and technologies used. I should learn from this,
  2. Funny little Ascii art, made me smile.
  3. I’m not sure why you added node_modules\figlet? I didn’t install it and could view you ascii art anyway.
  4. I don’t understand the purpose of the packlage-json. Is it to retrieve ascii art?

##Codewise
I think it is a bit too complex for this purpose. But I guess if we were to expand this, some of the code might be useful.

I think looping through the array and using a switch statement to get could achieved more easily. I made a function returnRandomElement. And logged to the console a string like " You should order [getRandomElement[restaurant]. They have [getRandomElement[qualities]. … " and so on.
Happy to hear you reasoning behind it as I want to learn more as well.

BR,
Chris