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 Order #11

Open
2 tasks
RbAvci opened this issue Feb 24, 2024 · 1 comment
Open
2 tasks

Feature Order #11

RbAvci opened this issue Feb 24, 2024 · 1 comment

Comments

@RbAvci
Copy link
Owner

RbAvci commented Feb 24, 2024

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

Instructions:

Extract the <li> containing "Pizzas" from the <Restaurant /> component to a new component named Order. Also, 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 #11

Test:

  • The pizza order is still rendered on the page
  • Clicking on the "Add" button still increments the number of orders.
@fikretellek
Copy link
Collaborator

#45

@fikretellek fikretellek moved this from 🔖 Ready to 🏗 In progress in React Module Project Mar 9, 2024
@fikretellek fikretellek moved this from 🏗 In progress to 👀 In review in React Module Project Mar 9, 2024
@RbAvci RbAvci moved this from 👀 In review to ✅ Done in React Module Project Mar 9, 2024
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

2 participants