CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Add more pizzas

オープン
#10 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
♟️ Dependent ticket 🏕 Priority Mandatory 🐇 Size Small 📅 Week 2 🧩 Feature
主要言語
JavaScript
スター
1
フォーク
28
PR マージ指標
30日以内にマージされた PR はありません

説明

## Dependent ticket: complete and merge #9 before starting this ticket

**Instructions:**

In the `` component, create a new function named `orderOne`. The `orderOne` function doesn't take any parameters and should use the `setOrders` function to increment the `orders` state variable by 1. Then, add a `onClick` handler to the Add `` that calls the `orderOne` function when it's being clicked.

**Test:**

When the Add button is clicked, the number of pizzas increases by 1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。