Deviopath › React

Counter

Easy · State

Build a counter with useState.

Show <p>Count: 0</p> and a button with the text "Increment". Each click adds 1 to the count.

Next: Like Button