Loading...
Loading...
Implement a form with two types of inputs: controlled and uncontrolled. Requirements: ✓ First input should be controlled (managed via state) ✓ Second input should be uncontrolled (via useRef) ✓ On button click, output both input values to console ✓ Form should not reload the page on submit ✓ Console should show: "controlled: [value]" and "uncontrolled: [value]" Acceptance Criteria: ✓ First input is managed via useState ✓ Second input is managed via useRef ✓ Both values are logged to console on button click ✓ Form has placeholders to understand which input is which ✓ Click handler should be on button, not on form