Double the Number
Easy · Forms
Render an <input type="number"> and a <p>.
The paragraph shows the typed number times 2, like "Double: 14". When the input is empty it shows "Double: 0".
Remember: e.target.value is a string, so convert it with Number().
Next: Accept the Terms