scrimba
Shant Dashjian's 96 Code Reviews of the Scrimba Frontend Career Path Students Projects
Code Review of Jamie's Food Ordering App
github repo
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Code Review of Jamie's Food Ordering App
AboutCommentsNotes
Code Review of Jamie's Food Ordering App
Expand for more info
code-review.md
run
preview
console
# Module: No. 5 - Essential JS Concepts
# Project: Restaurant Ordering App by Jamie
# Code Reviewer: Shant Dashjian


## What You Did Well:

1. You met the objectives of this project:
1. You followed the design spec.
2. You rendered the menu options using JavaScript.
3. It adds items to the order, gets the total, completes the order, and gets payment information.
4. Your input fields are required.
2. You save the order in localStorage.
3. You check and report validity using `checkValidity()` and `reportValidity()` functions.
4. Your code is well organized and you followed naming conventions.
5. Use could remove an item added to the order.


## Suggestions for Improvement:

1. Disable add to order buttons while showing the order completion message.
2. Limit the credit card and CVV fields to numbers and consider using a regular expression pattern to validate the format.
3. When adding multiple instances of the same item, consider showing them in one line.


## Conclusion:

You did well meeting the objectives of this project, practicing a good number of JavaScript concepts. I hope you found my suggestions useful and I wish you the best in your journey. Keep on coding.
Console
/index.html
-6:49