D
D
DixRo2021-03-14 18:37:58
React
DixRo, 2021-03-14 18:37:58

How to click on buttons so that it shows how many times you clicked on it?

I ask you not to kick strongly with slippers) perhaps the question and its solution are sooo stupid and easy) But I just recently started to learn React. Please help. Write code

Task. Three buttons should be displayed on the initial screen and by pressing the buttons there should be a limiter, there should be 1 click on the first button, only 6 on the second button, and 0 clicks on the third button.604e2d6a0b933146250244.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-03-14
@DixRo

https://codesandbox.io/s/qna-q954721-2zokd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question