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 #13

Open
2 tasks
SallyMcGrath opened this issue Dec 22, 2023 · 0 comments
Open
2 tasks

Feature orderType #13

SallyMcGrath opened this issue Dec 22, 2023 · 0 comments
Labels
♟️ Dependent ticket This ticket depends on something else being completed first this sprint 🧩 Feature 🐂 Size Medium 1-4 hours 📅 Week 2 Assigned during Week 2 of this module

Comments

@SallyMcGrath
Copy link
Member

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
Labels
♟️ Dependent ticket This ticket depends on something else being completed first this sprint 🧩 Feature 🐂 Size Medium 1-4 hours 📅 Week 2 Assigned during Week 2 of this module
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant