Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feature Order

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

First resolve the dependency on issue #11, then locate the Restaurant component and its current Pizzas list item, orders state, and orderOne function. Extract those pieces into Order, use Order in Restaurant's ul, and verify that the pizza remains rendered and Add still increments the order count.

Written by the indexing model from the issue text.

Description

♟️ Dependent ticket 🐇 Size Small 📅 Week 2 🧩 Feature

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.
Dominant language
JavaScript
Stars
1
Forks
28
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeYourFuture/React-Module-Project

All issues in CodeYourFuture/React-Module-Project

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.