Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature orderType #20

Open
2 tasks
MarcusZagorski opened this issue Feb 26, 2024 · 0 comments
Open
2 tasks

Feature orderType #20

MarcusZagorski opened this issue Feb 26, 2024 · 0 comments

Comments

@MarcusZagorski
Copy link
Owner

From React-Module-Project created by SallyMcGrath: CodeYourFuture#13

Instructions:

Pass a new prop named orderType to the <Order /> component with the value "Pizzas". Then render the orderType prop instead of "Pizzas" in the <Order /> component. Make sure that "Pizzas" is still displayed on the screen. In the <ul> list of the <Restaurant /> component, render 2 others <Order /> components but this time pass different values for the orderType prop: "Salads" and "Chocolate cake".

Depends on #12

Test:

  • For each order, the number of items can be incremented independently.
  • Explain what is happening in your test description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant