Question: On React use usestate. 1 ) Create three buttons with labels 1, 2, and 3. At a time, only one button will be visible. Clicking
On React use usestate.
1 ) Create three buttons with labels 1, 2, and 3. At a time, only one button will be visible. Clicking on 1 makes 2 visible, clicking on 2 makes 3 visible and clicking on 3 makes 1 visible. ( use conditional rendering to achieve this )
2 ) Create two input boxes and a button. Typing inside the first input box automatically populates the second input box with the same value. Clicking on the button clears both input boxes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
