Mama Mia Pizzeria bot by Anna H#142
Conversation
… input such as age prompt and confirmorder
…pdated the readme file.
There was a problem hiding this comment.
Your code does a great job of guiding the user through the ordering process with clear prompts and feedback!
Great use of while loops, ensuring input validation, and last but not least I liked toLowerCase()_ method to handle case insensitivity. It really enhances the user experience.
Suggestions for improvement:
- Consider using camelCase for variable naming. For example mealChoice instead of mealchoice.
- Consider naming clarity. For example, the choice of mealchoice and mealType together might look misleading.
Hi @zoe-lindqvist Thanks a lot for your valuable feedback. I agree with you on the suggestions of improvements and have already implemented them. Thank you for noticing! |
HIPPIEKICK
left a comment
There was a problem hiding this comment.
Good job with this project Anna! 🍕
JavaScript
- Nice usage of while loops to ensure the user inputs valid choices ⭐
- It’s great that you used .toLowerCase() when confirming the order to ensure the input is case-insensitive. This is a good practice when working with user input since users may not always type responses in the expected format!
Clean Code
- Nice and descriptive naming of variables!
- Well-indented code which improves readability
Keep up the good work! 🤖
Netlify link
https://mamamia-pizzeria.netlify.app/