Deviopath › React

Controlled Input

Easy · Forms

Render an <input> and a <p> below it.

The paragraph shows "Hello, {name}!" using what the user typed. When the input is empty it shows "Hello, stranger!".

Next: Character Counter