0% completed
Follow these instructions to complete your challenge:
ClickCounter
in the App.jsx
file.useState
hook to create a state variable named count, initialized to 0.<p>
element.ClickCounter
component inside the App
component.Follow these instructions to complete your challenge:
ToggleText
in the App.jsx
file.useState
hook to create a state variable isVisible
, initialized to true
.<p>
) with the text "Hello, React!" only if isVisible
is true
.isVisible
between true
and false
when clicked.ToggleText
component inside the App
component......
.....
.....