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

[TECH ED] Feature Order #1

Open
5 tasks
SallyMcGrath opened this issue Dec 18, 2024 · 0 comments
Open
5 tasks

[TECH ED] Feature Order #1

SallyMcGrath opened this issue Dec 18, 2024 · 0 comments
Labels
🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours

Comments

@SallyMcGrath
Copy link
Collaborator

Tasks

  • Extract the <li> containing "Pizzas" from the <Restaurant /> component to a new component named Order.
  • Move the declaration of the orders state and the orderOne function from the <Restaurant /> component to the new <Order /> component.
  • Use the <Order /> component in the <ul> list of the <Restaurant /> component.

Dependent on #10

Tests:

  • The pizza order is still rendered on the page
  • Clicking on the "Add" button still increments the number of orders.
@SallyMcGrath SallyMcGrath added 🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours
Projects
None yet
Development

No branches or pull requests

1 participant